Ask / Submit
4

API for reading current system audio volume? [answered]

asked 2014-02-10 20:01:27 +0300

Alessandro Portale gravatar image

Since SoundEffect from the QtMultimedia QML module currently does not consider the system volume, I am searching for an alternative temporary workaround: Before playing the short sounds, I want to read the current system volume and set the volume in SoundEffect, accordingly.

Is there an API for reading the current system volume? No matter if QML or C++ API. I am also fine with any other way to get the volume, even if it is not via "API".

Thanks, Alessandro

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by r0kk3rz
close date 2015-07-01 16:34:05.525747

1 Answer

Sort by » oldest newest most voted
0

answered 2014-07-18 13:46:30 +0300

Alessandro Portale gravatar image

The answer was posted here: https://lists.sailfishos.org/pipermail/devel/2014-July/004787.html

And the even better news is that SoundEffect will automatically follow the system volume in update8: https://lists.sailfishos.org/pipermail/devel/2014-July/004643.html

edit flag offensive delete publish link more

Question tools

Follow
3 followers

Stats

Asked: 2014-02-10 20:01:27 +0300

Seen: 364 times

Last updated: Jul 18 '14