Franxis
MAME 4 ALL
No, it is not the case:Micket said:About the issue with randomly broken sound; I've encountered a very similiar problem with oldplay.
Sometimes when i use SDL_OpenAudio i get the wrong frequency (even though it claims i get what i asked for), and sometimes it just gets quiet, and sometimes the callback function for the audio buffer is never called. When this happens and i try to close the audio the gp2x lock up (no segfault or anything, forcing me to restart it through the power switch)
Even gdb didn't manage to give me much information. If i remember correctly it waited for the threads to join and it seems it never happens.
Well, enough ranting about oldplay.
Franxis; Does Mame Gp2x close and reopen audio every time you change the game?
If so, this might be the cause for the random quietness/crashes described here.
And, if not, then nevermind me.
- I open the audio only once when the application starts.
- I close only when the application ends.
The problem is on the MAME hardware sound drivers: init driver - close driver.
Last edited by a moderator: