Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 656146 Details for
Bug 738578
games-emulation/advancemame-3.9 : ALSA sound broken on big endian
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix broken sound on big endian
alsa_be.patch (text/plain), 534 bytes, created by
Marcus Comstedt
on 2020-08-22 12:46:53 UTC
(
hide
)
Description:
Patch to fix broken sound on big endian
Filename:
MIME Type:
Creator:
Marcus Comstedt
Created:
2020-08-22 12:46:53 UTC
Size:
534 bytes
patch
obsolete
>--- advancemame-3.9/advance/linux/salsa.c.orig 2020-08-22 14:19:19.539044824 +0200 >+++ advancemame-3.9/advance/linux/salsa.c 2020-08-22 14:19:51.843154537 +0200 >@@ -163,7 +163,11 @@ > goto err_close; > } > >+#ifdef USE_MSB >+ r = snd_pcm_hw_params_set_format(alsa_state.handle, hw_params, SND_PCM_FORMAT_S16_BE); >+#else > r = snd_pcm_hw_params_set_format(alsa_state.handle, hw_params, SND_PCM_FORMAT_S16_LE); >+#endif > if (r < 0) { > log_std(("ERROR:sound:alsa: Couldn't set audio format: %s\n", snd_strerror(r))); > goto err_close;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 738578
:
656146
|
656148