notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dualcore integration in famc, bram cart C code, psp bugfixes
[libpicofe.git]
/
psp
/
mp3.c
diff --git
a/psp/mp3.c
b/psp/mp3.c
index
f0cfe8f
..
f3abc2f
100644
(file)
--- a/
psp/mp3.c
+++ b/
psp/mp3.c
@@
-104,7
+104,7
@@
static int read_next_frame(int which_buffer)
}
if (frame_offset) {
}
if (frame_offset) {
- lprintf("unaligned, foffs=%i, offs=%i\n", mp3_src_pos - bytes_read, frame_offset);
+
//
lprintf("unaligned, foffs=%i, offs=%i\n", mp3_src_pos - bytes_read, frame_offset);
memmove(mp3_src_buffer[which_buffer], mp3_src_buffer[which_buffer] + frame_offset, frame_size);
}
memmove(mp3_src_buffer[which_buffer], mp3_src_buffer[which_buffer] + frame_offset, frame_size);
}
@@
-327,7
+327,7
@@
void mp3_start_play(FILE *f, int pos)
lprintf("mp3_start_play(%s) @ %i\n", fname, pos);
psp_sem_lock(thread_busy_sem);
lprintf("mp3_start_play(%s) @ %i\n", fname, pos);
psp_sem_lock(thread_busy_sem);
- if (mp3_fname != fname)
+ if (mp3_fname != fname
|| mp3_handle < 0
)
{
if (mp3_handle >= 0) sceIoClose(mp3_handle);
mp3_handle = sceIoOpen(fname, PSP_O_RDONLY, 0777);
{
if (mp3_handle >= 0) sceIoClose(mp3_handle);
mp3_handle = sceIoOpen(fname, PSP_O_RDONLY, 0777);