Fix mp3 for 1806
Change-Id: I456b9943833ccb31e7178e2246cba2445974b3e7
diff --git a/mbtk/ql_lib/src/ql_audio.c b/mbtk/ql_lib/src/ql_audio.c
index 753e6e0..e273396 100755
--- a/mbtk/ql_lib/src/ql_audio.c
+++ b/mbtk/ql_lib/src/ql_audio.c
@@ -406,20 +406,20 @@
int Ql_Mp3_To_Wav(const char *wavpath, char *mp3path)
{
-#if 1
- return 0;
-#else
+#ifdef MBTK_MP3_SUPPORT
return mbtk_audio_mp3_to_wav(wavpath, mp3path);
-#endif
+#else
+ return 0;
+#endif
}
int Ql_Mp3_To_Play(char *mp3path, int hdl,int sample_rate)
{
-#if 1
- return 0;
-#else
+#ifdef MBTK_MP3_SUPPORT
return mbtk_audio_mp3_to_play(mp3path, hdl, sample_rate);
-#endif
+#else
+ return 0;
+#endif
}
//add by grady, 2018-6-2