mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
make gp2x mp3 playback functional (need to unpack and compile helix decoder separately in platform/common/helix)
This commit is contained in:
parent
c79d0bb90f
commit
340e528ff8
13 changed files with 274 additions and 59 deletions
|
@ -425,8 +425,7 @@ int YM2612UpdateOne_940(int *buffer, int length, int stereo, int is_buf_empty)
|
|||
int mp3dec_decode(FILE *f, int *file_pos, int file_len)
|
||||
{
|
||||
if (!(PicoIn.opt & POPT_EXT_FM)) {
|
||||
//mp3_update_local(buffer, length, stereo);
|
||||
return 0;
|
||||
return _mp3dec_decode(f, file_pos, file_len);
|
||||
}
|
||||
|
||||
// check if playback was started, track not ended
|
||||
|
@ -457,8 +456,7 @@ int mp3dec_decode(FILE *f, int *file_pos, int file_len)
|
|||
int mp3dec_start(FILE *f, int fpos_start)
|
||||
{
|
||||
if (!(PicoIn.opt & POPT_EXT_FM)) {
|
||||
//mp3_start_play_local(f, pos);
|
||||
return -1;
|
||||
return _mp3dec_start(f, fpos_start);
|
||||
}
|
||||
|
||||
if (loaded_mp3 != f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue