Audio on iOS doesn't sound

Hello,

I’m trying to play short sounds (wav format for iOS and Android compatibility).

In simulator and Android, they play perfectly, however, they don’t play in iOS (silence).

I have set the volume, I have tried to use channels, but sounds doesn’t play in my iOS device.

What is the problem?

main.lua     sounds = require "sounds" sounds.lua     local sounds = {}     sounds.enemy\_step = audio.loadSound( "sounds/enemy\_step.wav" )     return sounds scene.lua     audio.play( sounds.enemy\_step )

Thank you in advance.

Jose Antonio

Do you know much about the sound?

Does it have more than two audio channels?

What version of Corona SDK are you using?

Maybe try converting it to a mono track instead of stereo.  Try changing the bit rate too and saving a new sound out in case there are issues with the sound.

Rob

Thank you Rob.

I have converted to mono and I have tried m4a format (for iOS).

I have check several devices, and now, it doesn’t sound only on my iPhone 6+. Other devices are working ok. I don’t understand which is the problem with iPhone 6+…

Is this problem known before?

Jose Antonio

If it plays on one iOS device it should play on all of them. Apple does a really good job with its audio support. It’s more likely the 6+ is muted or something.

Rob

Hello.
I have found the problem (I think…)
Sound doesn’t play when iPhone ring mute button is on (up-left on iPhone), that is, when the button shows red.

However, the remaining apps play ok, with red button.
Is it possible to play sounds when this button is red?
Thank you

Do you know much about the sound?

Does it have more than two audio channels?

What version of Corona SDK are you using?

Maybe try converting it to a mono track instead of stereo.  Try changing the bit rate too and saving a new sound out in case there are issues with the sound.

Rob

Thank you Rob.

I have converted to mono and I have tried m4a format (for iOS).

I have check several devices, and now, it doesn’t sound only on my iPhone 6+. Other devices are working ok. I don’t understand which is the problem with iPhone 6+…

Is this problem known before?

Jose Antonio

If it plays on one iOS device it should play on all of them. Apple does a really good job with its audio support. It’s more likely the 6+ is muted or something.

Rob

Hello.
I have found the problem (I think…)
Sound doesn’t play when iPhone ring mute button is on (up-left on iPhone), that is, when the button shows red.

However, the remaining apps play ok, with red button.
Is it possible to play sounds when this button is red?
Thank you