summaryrefslogtreecommitdiffstats
path: root/mp3lib
diff options
context:
space:
mode:
Diffstat (limited to 'mp3lib')
-rw-r--r--mp3lib/decod386.c2
-rw-r--r--mp3lib/mp3.h2
-rw-r--r--mp3lib/sr1.c4
-rw-r--r--mp3lib/test.c2
-rw-r--r--mp3lib/test2.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/mp3lib/decod386.c b/mp3lib/decod386.c
index a1b26bb957..bda2a94bb6 100644
--- a/mp3lib/decod386.c
+++ b/mp3lib/decod386.c
@@ -220,7 +220,7 @@ static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt)
}
-#ifdef USE_FAKE_MONO
+#ifdef CONFIG_FAKE_MONO
static int synth_1to1_l(real *bandPtr,int channel,unsigned char *out,int *pnt)
{
int i,ret;
diff --git a/mp3lib/mp3.h b/mp3lib/mp3.h
index 2e9a1312bc..f6f5a4dea7 100644
--- a/mp3lib/mp3.h
+++ b/mp3lib/mp3.h
@@ -1,7 +1,7 @@
/* MP3 Player Library 2.0 (C) 1999 A'rpi/Astral&ESP-team */
/* decoder level: */
-#ifdef USE_FAKE_MONO
+#ifdef CONFIG_FAKE_MONO
extern void MP3_Init(int fakemono);
#else
extern void MP3_Init();
diff --git a/mp3lib/sr1.c b/mp3lib/sr1.c
index 2cadb020bc..65a749ed10 100644
--- a/mp3lib/sr1.c
+++ b/mp3lib/sr1.c
@@ -400,7 +400,7 @@ void (*dct64_MMX_func)(short *, short *, real *);
#include "cpudetect.h"
// Init decoder tables. Call first, once!
-#ifdef USE_FAKE_MONO
+#ifdef CONFIG_FAKE_MONO
void MP3_Init(int fakemono){
#else
void MP3_Init(){
@@ -475,7 +475,7 @@ void MP3_Init(){
mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using generic C decore!\n");
}
-#ifdef USE_FAKE_MONO
+#ifdef CONFIG_FAKE_MONO
if (fakemono == 1)
fr.synth=synth_1to1_l;
else if (fakemono == 2)
diff --git a/mp3lib/test.c b/mp3lib/test.c
index 8ce1143ff2..c9613ee99b 100644
--- a/mp3lib/test.c
+++ b/mp3lib/test.c
@@ -45,7 +45,7 @@ int main(int argc,char* argv[]){
GetCpuCaps(&gCpuCaps);
// MPEG Audio:
-#ifdef USE_FAKE_MONO
+#ifdef CONFIG_FAKE_MONO
MP3_Init(0);
#else
MP3_Init();
diff --git a/mp3lib/test2.c b/mp3lib/test2.c
index 3c78596d81..0b6a7cbb25 100644
--- a/mp3lib/test2.c
+++ b/mp3lib/test2.c
@@ -33,7 +33,7 @@ int main(int argc,char* argv[]){
GetCpuCaps(&gCpuCaps);
// MPEG Audio:
-#ifdef USE_FAKE_MONO
+#ifdef CONFIG_FAKE_MONO
MP3_Init(0);
#else
MP3_Init();