[SailfishDevel] QtMultimedia SoundEffect Vs Audio

Martin Windolph martin at yoktobit.de
Fri Dec 20 19:17:48 UTC 2013


My app has not been rejected because of this, but this seems to be a bug, I recognized it on my Jolla device with my game Morzyn.


I do the following:

I use the Audio component for background music (and other sounds) and set the volume to 1 or 0 to fade in or out. For the fade effect I use a behaviour on volume.


expected behavior: 

The volume of just the Audio component is changed (1.00 volume in Audio component means 0.3 volume if system volume is 0.3).

This works for Linux, Windows and Android.


behaviour on Jolla:

titleSound.volume = 1.00; 

means, that system volume is changed to 1.00. This can be really annoying and I hope it is fixed soon because my app is accepted in store and installed on many Jolla devices. I’m so sorry for users who start it and always get full title Sound volume because of this ☹ I started it at work today and was really surprised about that.


Martin






Von: Robin Burchell
Gesendet: ‎Freitag‎, ‎20‎. ‎Dezember‎ ‎2013 ‎20‎:‎16
An: Sailfish OS Developers




Hi, 



On 20 Dec 2013, at 12:21, Kimmo Lindholm <Kimmo.Lindholm at eke.fi> wrote:




First I used QtMultimedia Audio component which seems to follow system volume setting, but after the sound is played, there is glitch in animations running on the screen.



This sounds like a bug. Can you please give me the source of your example demonstrating this, for use as a test case? (please see http://sscce.org/)




Then I switched to SoundEffect component, but it plays always with full volume regardless of system volume settings (or muting).

I can ‘manually’ adjust the volume through with SoundEffect.volume –property.

 

Is there any way that I can pass system volume/muted value to SoundEffect.volume?



This sounds like another bug. It should be inheriting this. Again: source would be appreciated so I can file this.



BR,

Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131220/9859d2b1/attachment.html>
-------------- next part --------------
_______________________________________________
SailfishOS.org Devel mailing list


More information about the Devel mailing list