From 035e42bf84a2cf446fba3f5d184d62feb00c9438 Mon Sep 17 00:00:00 2001 From: Albert Zeyer Date: Mon, 11 Apr 2011 14:11:50 +0200 Subject: [PATCH] small libao fix --- Makefile | 1 + hairtunes.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fc1c3f22..c1263552 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/hairtunes.c b/hairtunes.c index 1a1b3eec..b348366c 100644 --- a/hairtunes.c +++ b/hairtunes.c @@ -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;