small libao fix
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
CFLAGS = `pkg-config --cflags --libs openssl` -lportaudio
|
||||
#CFLAGS = `pkg-config --cflags --libs openssl ao` -DHAVE_AO
|
||||
|
||||
hairtunes: hairtunes.c alac.c
|
||||
gcc hairtunes.c alac.c -D__i386 -lm $(CFLAGS) -o hairtunes
|
||||
|
||||
+1
-1
@@ -661,7 +661,7 @@ int init_output(void) {
|
||||
fmt.rate = sampling_rate;
|
||||
fmt.channels = NUM_CHANNELS;
|
||||
fmt.byte_format = AO_FMT_LITTLE;
|
||||
fmt.matrix = 0;
|
||||
// fmt.matrix = 0;
|
||||
|
||||
ao_device *dev = ao_open_live(driver, &fmt, 0);
|
||||
void* arg = dev;
|
||||
|
||||
Reference in New Issue
Block a user