skip junk in mp3_helix, refactor find_sync_word

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@889 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2010-09-08 20:52:13 +00:00
parent cf82669f50
commit 7c18e34a74
13 changed files with 86 additions and 82 deletions

View file

@ -12,7 +12,7 @@
#ifndef PICO_H
#define PICO_H
#include <stdio.h>
//#include <stdio.h>
// port-specific compile-time settings
#include <port_config.h>
@ -22,8 +22,8 @@ extern "C" {
#endif
// external funcs for Sega/Mega CD
extern int mp3_get_bitrate(FILE *f, int size);
extern void mp3_start_play(FILE *f, int pos);
extern int mp3_get_bitrate(void *f, int size);
extern void mp3_start_play(void *f, int pos);
extern void mp3_update(int *buffer, int length, int stereo);
// this function should write-back d-cache and invalidate i-cache