setMaxVolume does not work on device

filed as (Case 8399) setMaxVolume does not work on device

In the simulator, setMaxVolume works fine, but when built to my ipod touch4 the audio plays at max volume.

local trackFilename = "moon.mp3" local snd = audio.loadSound(trackFilename) local chan = audio.play(snd) audio.setVolume(1, {channel=chan}) audio.setMaxVolume(0, {channel = chan}) [import]uid: 27183 topic_id: 15719 reply_id: 315719[/import]

getMaxVolume doesn’t return the proper value after calling setMaxVolume either. [import]uid: 27183 topic_id: 15719 reply_id: 59928[/import]

Somebody else reported a similar bug. Since it works correctly in the simulator, this is an Apple iOS bug. Would you please submit a bug report with Apple and mention this is probably related to bug 10219311. I was notified last week they were trying to reproduce this, but having problems. The extra information you provide may help.

[import]uid: 7563 topic_id: 15719 reply_id: 59930[/import]

Sure anything I can do to help this get fixed. Where would I go to submit the bug for apple?

For the getMaxVolume issue it’s actually not working in the simulator either. All I’m doing is calling setMaxVolume and getMaxVolume right afterwards using the same channel, and in the simulator it’s not returning the correct value.

For now I’m avoiding it and just trying to use setVolume by itself and since fades and setMaxVolume don’t seem to work nicely together. [import]uid: 27183 topic_id: 15719 reply_id: 59933[/import]

https://bugreport.apple.com/

I’ll look at the getMaxVolume. It could be our bug. (If it doesn’t work correctly on Windows and Android, then it is definitely our bug.) [import]uid: 7563 topic_id: 15719 reply_id: 59937[/import]

I confirmed and just fixed the getMaxVolume (and getMinVolume) bug. The iOS setMaxVolume bug is still in Apple’s court.

[import]uid: 7563 topic_id: 15719 reply_id: 60226[/import]

This bug still exists. [import]uid: 117642 topic_id: 15719 reply_id: 102741[/import]

Get more people to file bugs with Apple. [import]uid: 7563 topic_id: 15719 reply_id: 102776[/import]