allegro/allegro-4.2.0-alsa-big-endian.patch
Hans de Goede 6f1526a70a - fix sound not working on PPC (bz 183112)
- fix allegro not finding and loading plugins/modules on x86_64 (bz 183113)
2006-02-27 09:58:51 +00:00

11 lines
407 B
Diff

--- allegro-4.2.0/src/unix/alsa9.c~ 2006-02-26 09:11:32.000000000 +0100
+++ allegro-4.2.0/src/unix/alsa9.c 2006-02-26 09:11:32.000000000 +0100
@@ -361,7 +361,7 @@
alsa_bits = 8;
break;
- case SND_PCM_FORMAT_U16_LE:
+ case SND_PCM_FORMAT_U16_NE:
if (sizeof(short) != 2) {
ustrzcpy(allegro_error, ALLEGRO_ERROR_SIZE, get_config_text("Unsupported sample format"));
goto Error;