mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
uncommited code for 151 release (PSP suspend, file browser, etc)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@554 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
6589c840ca
commit
dfa8d77a42
8 changed files with 78 additions and 57 deletions
|
@ -373,6 +373,9 @@ void mp3_start_play(FILE *f, int pos)
|
|||
mp3_fname = fname;
|
||||
}
|
||||
|
||||
// clear decoder state
|
||||
sceAudiocodecInit(mp3_codec_struct, 0x1002);
|
||||
|
||||
// seek..
|
||||
mp3_src_pos = (int) (((float)pos / 1023.0f) * (float)mp3_src_size);
|
||||
sceIoLseek32(mp3_handle, mp3_src_pos, PSP_SEEK_SET);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue