endian fix as reported in #27

This commit is contained in:
Albert Zeyer
2011-04-18 17:22:36 +02:00
parent 5fa8fdec84
commit 8fbbfad4f4
+1 -1
View File
@@ -738,7 +738,7 @@ void* init_ao() {
fmt.bits = 16;
fmt.rate = sampling_rate;
fmt.channels = NUM_CHANNELS;
fmt.byte_format = AO_FMT_LITTLE;
fmt.byte_format = AO_FMT_NATIVE;
ao_device *dev = ao_open_live(driver, &fmt, 0);
return dev;