From 1e4c574245a89a2bf02ae8fb67afabadade766aa Mon Sep 17 00:00:00 2001 From: Cary Sandvig Date: Thu, 12 Oct 2000 21:37:53 +0000 Subject: [PATCH] mp3 support --- panda/src/mpg123/Sources.pp | 12 ++++++++++++ panda/src/mpg123/mpg123.h | 2 +- panda/src/mpg123/readers.c | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/panda/src/mpg123/Sources.pp b/panda/src/mpg123/Sources.pp index e69de29bb2..fbea81b8da 100644 --- a/panda/src/mpg123/Sources.pp +++ b/panda/src/mpg123/Sources.pp @@ -0,0 +1,12 @@ +#begin static_lib_target + #define TARGET mpg123 + #define SOURCES \ + audio.c dct64.c decode.c decode_2to1.c decode_4to1.c decode_ntom.c \ + layer1.c layer2.c layer3.c tabinit.c vbrhead.c xfermem.c common.c \ + getbits.c mpgbuffer.c equalizer.c httpget.c readers.c + #define CFLAGS -DGENERIC -DNOXFERMEM + + #define INSTALL_HEADERS \ + mpg123.h xfermem.h mpgaudio.h + +#end static_lib_target diff --git a/panda/src/mpg123/mpg123.h b/panda/src/mpg123/mpg123.h index 3d7c8d6daa..3a89028ac5 100644 --- a/panda/src/mpg123/mpg123.h +++ b/panda/src/mpg123/mpg123.h @@ -68,7 +68,7 @@ typedef unsigned char byte; #define INLINE #endif -#include "audio.h" +#include "mpgaudio.h" /* AUDIOBUFSIZE = n*64 with n=1,2,3 ... */ #define AUDIOBUFSIZE 16384 diff --git a/panda/src/mpg123/readers.c b/panda/src/mpg123/readers.c index 90f6aa12e9..085283960f 100644 --- a/panda/src/mpg123/readers.c +++ b/panda/src/mpg123/readers.c @@ -5,7 +5,7 @@ #include #include "mpg123.h" -#include "buffer.h" +#include "mpgbuffer.h" #include "common.h" #ifdef READ_MMAP