Initial MP3 refactor
Using mpg123_outblock doesn't work correctly. Also assigning variables to different types. Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
@@ -36,8 +36,10 @@ int playFile(const char* file)
|
||||
break;
|
||||
|
||||
case FILE_TYPE_MP3:
|
||||
playMp3(file);
|
||||
return 0;
|
||||
setMp3(&decoder);
|
||||
break;
|
||||
//playMp3(file);
|
||||
//return 0;
|
||||
|
||||
default:
|
||||
printf("Unsupported File type.\n");
|
||||
|
||||
Reference in New Issue
Block a user