Use dynamic buffer size for mp3 again

Additionally removed the old MP3 code, saving a massive 1KB from the
binary!

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
Mahyar Koshkouei
2017-01-12 11:30:07 +00:00
parent a1cd5363db
commit 42b3d50a16
3 changed files with 23 additions and 172 deletions

View File

@@ -1,5 +1,3 @@
#include <mpg123.h>
/**
* Set decoder parameters for MP3.
*
@@ -41,5 +39,3 @@ uint64_t decodeMp3(void* buffer);
* Free MP3 decoder.
*/
void exitMp3(void);
int playMp3(const char* in);