changed lame path to the defaults (/usr/include/lame and liblame)

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@149 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 20 years ago
parent 55304b302d
commit 4ddce65440

@ -3,10 +3,16 @@ plug_in_name = mp3
COREPATH ?=../../core
LAME_DIR = ./lame-3.96.1
#module_ldflags = -L$(LAME_DIR)/libmp3lame/.libs
module_extra_objs = $(LAME_DIR)/libmp3lame/.libs/libmp3lame.a
module_extra_objs = -lmp3lame
module_cflags = -I/usr/include/lame
# if you want to build lame from source use these
# module_ldflags and module_extra_objs
#module_ldflags = -L$(LAME_DIR)/libmp3lame/.libs
#module_extra_objs = $(LAME_DIR)/libmp3lame/.libs/libmp3lame.a
#module_cflags = -I$(LAME_DIR)/include
module_cflags = -I$(LAME_DIR)/include
extra_clean =

@ -234,7 +234,7 @@ static int MP3_close(FILE* fp, struct amci_file_desc_t* fmt_desc, int options, l
{
int final_samples;
char mp3buffer[7200];
unsigned char mp3buffer[7200];
DBG("MP3: close. \n");
if(options == AMCI_WRONLY) {
if ((final_samples = lame_encode_flush((lame_global_flags *)h_codec,mp3buffer, 7200))) {

Loading…
Cancel
Save