From 8fbbfad4f49b7d19dccfff5382a688b59a06e290 Mon Sep 17 00:00:00 2001 From: Albert Zeyer Date: Mon, 18 Apr 2011 17:22:36 +0200 Subject: [PATCH] endian fix as reported in #27 --- hairtunes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hairtunes.c b/hairtunes.c index 484f65aa..8d3caab8 100644 --- a/hairtunes.c +++ b/hairtunes.c @@ -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;