sound in compiled apps
Hi all, I am a new sailfish user, on a gemini pda. I have installed a dev environment on the gemini and have managed to compile several programs which I couldn't find (ffmpeg, scummvm, dosbox). The only problem is that I get no sound. I searched in this forum and found a few posts about sdl2, but couldn't find what I needed. I know SDL sound should work, mupen64plus uses sdl sound and it works fine. Dosbox uses alsa lib directly (asound). If I create a qml project and add a SoundEffect, it all works, including volume. If I exec from within the qml page, dosbox starts, but it remains silent. Am I missing something?
I understand we use pulseaudio via alsa, but SDL should pick that up. Is there some magic I need to do :)
Cheers, V
what version of sdl are you using?
tortoisedoc ( 2018-08-12 15:43:35 +0200 )editSDL2-2.0.3-1.1.3, and alsa-lib-1.0.26-1.1.1 (from pkcon).
vader ( 2018-08-12 15:53:11 +0200 )editThen the next step i'd say check the initializations (dosbox vs sdl I mean)
tortoisedoc ( 2018-08-12 16:33:13 +0200 )editThanks tortoisedoc and coderus, I'll check out the resource allocation and initialisation routines.
vader ( 2018-08-13 23:23:42 +0200 )edit