![]() |
![]() |
#1 |
Member
Join Date: Feb 2008
Posts: 1
|
![]()
Hi, I am working on a Sony PlayStation Portable(PSP) homebrew musepack player. Lately I switched to the SV8 libmpcdec(r435) to decoder SV8 files. But it seems to have some decode lag problem playing old SV7 file while the old SV7 library wouldn't. The lag occurs when PSP storage device light is flashing.
PSP storage device(Memory Stick) has a limited (or unstable) read speed, IMOO if the reading buffer is too large, it will cause this problem. After investigation, I modified libmpcdec/internal.h to Code:
#define DEMUX_BUFFER_SIZE (32768 - MAX_FRAME_SIZE) // need some space as sand box But I wonder whether this hack will hurt the decoder? Or is there another better way to bypass this problem? |
![]() |
![]() |
![]() |
#2 |
Musepack developer
Join Date: Sep 2006
Location: Villeurbanne - France
Posts: 36
|
![]()
No, this should not hurt the decoder as long as the header blocks fit in the buffer (so MAX_FRAME_SIZE should even be enough). I don't see a better (easy) way right now.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|