make libao default again

This commit is contained in:
Albert Zeyer
2011-04-11 19:17:21 +02:00
parent 035e42bf84
commit e2dd3e9151
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
CFLAGS = `pkg-config --cflags --libs openssl` -lportaudio
#CFLAGS = `pkg-config --cflags --libs openssl ao` -DHAVE_AO
#CFLAGS = `pkg-config --cflags --libs openssl` -lportaudio
CFLAGS = `pkg-config --cflags --libs openssl ao`
hairtunes: hairtunes.c alac.c
gcc hairtunes.c alac.c -D__i386 -lm $(CFLAGS) -o hairtunes
+5 -1
View File
@@ -33,12 +33,16 @@
#include <netinet/in.h>
#include <pthread.h>
#include <openssl/aes.h>
#include <math.h>
#if !defined(HAVE_AO)
#define HAVE_AO 1
#endif
#if HAVE_AO
#include <ao/ao.h>
#else
#include <portaudio.h>
#endif
#include <math.h>
#ifdef FANCY_RESAMPLING
#include <samplerate.h>