Dnia 2014-07-18, pią o godzinie 11:46 +0300, Juho Hämäläinen pisze:
> You don't need to get the system volume level, when using QSoundEffect
> or QMediaPlayer without changing the volume of those objects, the
> volume they use is system volume.

Yeah. But this is only after latest update.
Before, SoundEffect was banging full-on, and users of my app complained.


> If you really need system volume for something, see 
> https://wiki.merproject.org/wiki/Nemo/Audio/MainVolume
> (or alternatively if want to know what's the real volume in stream 
> restore, see 
> http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/DBus/StreamRestore/
>  
> )

Thanks. This may prove useful in future. :-)


-- 
Tomasz Sterna @ http://abadcafe.pl/ @ http://www.xiaoka.com/

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to