mp3 support

This commit is contained in:
Cary Sandvig 2000-10-12 21:37:53 +00:00
parent 584e3e9278
commit 1e4c574245
3 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -5,7 +5,7 @@
#include <fcntl.h>
#include "mpg123.h"
#include "buffer.h"
#include "mpgbuffer.h"
#include "common.h"
#ifdef READ_MMAP