make libao default again
This commit is contained in:
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user