Hi all,
I was wondering if there was a classic (firmware friendly) way to assign the volume keys to the main volume, like what you can find on the psp to set up the home button callback ? As I don't use the volume keys in my game, that would be nice (even if I think there is not, as I guess it is the SOUND_MIXER_WRITE_PCM ioctl call that will do the trick).
Other thing that bugs me, is a problem I have with the module playing function I included (from gp32's mirko sdk). The module loads ok, plays fine, but at one point the sound output stops, no more sound effects either, and the game becomes damn slow... I tried increasing the size of the stack for that thread, but no luck...
I can post the sources if someone wants to help.
Thanks in advance.
I was wondering if there was a classic (firmware friendly) way to assign the volume keys to the main volume, like what you can find on the psp to set up the home button callback ? As I don't use the volume keys in my game, that would be nice (even if I think there is not, as I guess it is the SOUND_MIXER_WRITE_PCM ioctl call that will do the trick).
Other thing that bugs me, is a problem I have with the module playing function I included (from gp32's mirko sdk). The module loads ok, plays fine, but at one point the sound output stops, no more sound effects either, and the game becomes damn slow... I tried increasing the size of the stack for that thread, but no luck...
I can post the sources if someone wants to help.
Thanks in advance.