We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2018-08-12 11:38:49 +0200

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

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