mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-04 22:47:44 -04:00
skip junk in mp3_helix, refactor find_sync_word
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@889 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
ec54eeef35
commit
69dfeea159
10 changed files with 78 additions and 50 deletions
|
@ -475,9 +475,10 @@ void mp3_update(int *buffer, int length, int stereo)
|
|||
}
|
||||
|
||||
|
||||
void mp3_start_play(FILE *f, int pos) // pos is 0-1023
|
||||
void mp3_start_play(void *f_, int pos) // pos is 0-1023
|
||||
{
|
||||
int byte_offs = 0;
|
||||
FILE *f = f_;
|
||||
|
||||
if (!(PicoOpt & POPT_EN_MCD_CDDA) || f == NULL)
|
||||
return;
|
||||
|
|
|
@ -57,7 +57,7 @@ OBJS += pico/sound/mix_arm.o
|
|||
# common
|
||||
OBJS += platform/common/emu.o platform/common/menu.o platform/common/fonts.o platform/common/config.o \
|
||||
platform/common/arm_utils.o platform/common/arm_linux.o platform/common/readpng.o \
|
||||
platform/common/mp3_helix.o platform/common/input.o platform/common/main.o \
|
||||
platform/common/mp3_helix.o platform/common/input.o platform/common/main.o platform/common/mp3.o \
|
||||
platform/linux/sndout_oss.o platform/linux/plat.o platform/linux/in_evdev.o
|
||||
|
||||
# unzip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue