<div dir="ltr">sounds like a bug to me<div><br></div><div>is there a plan to improve this behaviour, or is there a technical limitation? :)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-03 13:56 GMT+02:00 Juho Hämäläinen <span dir="ltr"><<a href="mailto:juho.hamalainen@tieto.com" target="_blank">juho.hamalainen@tieto.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On <a href="tel:03.07.2014%2014" value="+390307201414" target="_blank">03.07.2014 14</a>:16, Martin Windolph wrote:<br>
[...]<div class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You wrote:<br>
"Unless volume or category is explicitly set for the classes, all follow<br>
system media volume (changed with the hardware volume keys)."<br>
<br>
I like to fade the game main menu music (mp3) in and out. So I use an animation on<br>
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).<br>
<br>
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.<br>
For the SoundEffects (wav) I don't change the volume. So they should be 30% (following system volume).<br>
</blockquote>
<br></div>
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%)<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
juho</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a><br>
</div></div></blockquote></div><br></div>