10-11-2012, 08:08 AM
Code:
42664 user_main DEBUG hle.sceAudio hleAudioGetChannelRestLen(8) = 3584
42666 user_main DEBUG hle.sceAudio sceAudioOutput2GetRestSample
42666 user_main DEBUG hle.sceAudio free buffer 1483943368
42667 user_main DEBUG hle.sceAudio hleAudioGetChannelRestLen(8) = 2048
42669 user_main DEBUG hle.sceAudio sceAudioOutput2GetRestSample
42669 user_main DEBUG hle.sceAudio hleAudioGetChannelRestLen(8) = 2048
42671 user_main DEBUG hle.sceAudio sceAudioOutput2GetRestSample
42671 user_main DEBUG hle.sceAudio hleAudioGetChannelRestLen(8) = 2048
This would explain why pausing Jpcsp for a short time does help: the audio continues to play while pausing and the audio channel gets empty, which then allows the "user_main" thread to go further.
I have to check if I can improve the compatibility of the sound buffering in Jpcsp... the difference is that if the sound buffer gets empty on OpenAL, it is producing a small "click" that can be heard when the sound output resumes, while it is not on a real PSP...
Always include a complete log file at INFO level in your reports. Thanks! How to post a log