[SailfishDevel] Updates to resource policy implementation in QtMultimedia (update8)

Andrea Bernabei and.bernabei at gmail.com
Thu Jul 3 12:58:39 UTC 2014


sounds like a bug to me

is there a plan to improve this behaviour, or is there a technical
limitation? :)


2014-07-03 13:56 GMT+02:00 Juho Hämäläinen <juho.hamalainen at tieto.com>:

> On 03.07.2014 14:16, Martin Windolph wrote:
> [...]
>
>  You wrote:
>> "Unless volume or category is explicitly set for the classes, all follow
>> system media volume (changed with the hardware volume keys)."
>>
>> I like to fade the game main menu music (mp3) in and out. So I use an
>> animation on
>> the volume property of my Audio-QML-Object. So I set the volume
>> explicitely from 100% to 0% (fade out) and from 0% to 100% (fade in).
>>
>> When system volume is eg. about 30%, does that mean that my menu music
>> "global" volume fades from 30% to 0% or from 100% to 0%? 30% to 0% would be
>> correct in my opinion...it also does so on Windows and Android.
>> For the SoundEffects (wav) I don't change the volume. So they should be
>> 30% (following system volume).
>>
>
> Unfortunately this won't be possible with the QML. When setting the volume
> to the Audio object, the volume is used as absolute value. So the volume of
> the audio would go from 0% to 100% absolute volume. Then when user would
> next press hw volume key, the stream's volume would be set to whatever
> volume is at that point. (So say system volume is 50%, Audio object volume
> is ramped from 0% to 100%, Audio object volume stays at 100% until user
> presses volume up, and then system volume changes to 55% and Audio object
> volume changes to 55%)
>
>
> --
> juho
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.
> sailfishos.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140703/655753f6/attachment.html>


More information about the Devel mailing list