Since QAudioOutput does not provide any volume control (!?!?!?), I am trying to find a way to set system-wide volume. So far, no luck. Any help appreciated.
Thanks
Since QAudioOutput does not provide any volume control (!?!?!?), I am trying to find a way to set system-wide volume. So far, no luck. Any help appreciated.
Thanks
Check this : http://doc.qt.nokia.com/qtmobility-1.2/multimedia.html
Can you do like this way : player->setVolume(50) // set 100 for maximum volume.
regards,
rahul
Read this bugreport : https://bugreports.qt.nokia.com//browse/QTBUG-10729
regards,
rahul
I think you can (maybe) set system wide volume directly via alsa, which is the low level sound layer. I really don't know if using alsa directly is supported or recommended in any way, but there are alsa docs from Nokia available here http://harmattan-dev.nokia.com/docs/...ZWZlcmVuY2U%3D
I assume that you have N9/N950, so you can try to play with first 'alsamixer' to see how it affects volume. You can start alsamixer from terminal after going to kind-of-root via 'devel-sh'. It is apparently possible to set volume too high so be careful not break anything.
I don't know enough about sound subsystem to say if it is wise idea or not.
Edit: I think using alsa directly might be forbidden by security policy.
Last edited by mikkovtr; 2011-11-24 at 00:30.
http://harmattan-dev.nokia.com/docs/...diooutput.html
There is a setVolume method here. Hope this link above helps.