iOS device sound problem

Hi there, 

I am newbie in Corona.

I made an app with android and iOS platform.

I use the “audio.play” API to play the sound file.

It works fine both in the android built app and mac simulator.

But it make no sound in the iOS built app.

How can I fixed?

Best

Vincent

$5 says you’re muted.  Check the iOS settings and the ring switch.

Also, what sound format are you using.  Tell us the encoding details of the sound file.  MP3?, 44KHz, etc.

the iOS settings and the ring switch is fine.

wav and mp3 , 44KHZ
 

Is it possible the SDK version?
10.3(UNSUPPORTED: Local iOS SDK is 11.0 which does not match)

Try this sample project on your iOS device:

https://github.com/coronalabs/Endless-Skateborder

It uses mp3 for sound effects and works on both iOS and Android.

Note: I hope my original post didn’t come off as condescending. It is just that I’ve seen posts like this many times and 100% of the time, the user had flipped the ringer switch or had some odd settings in the system settings that were disabling the sound.

I blame Apple’s un-intuitive menus for this, as well as the fact that the ringer switch can be re-purposed as mute.

Questions:

  1. Mono or Stereo files.

  2. How do other sample Corona projects with sound work?

  3. Do any other games on your phone have this problem?

Hi  there,

You are right, I owe you $5   ^^!

Best

Vincent

$5 says you’re muted.  Check the iOS settings and the ring switch.

Also, what sound format are you using.  Tell us the encoding details of the sound file.  MP3?, 44KHz, etc.

the iOS settings and the ring switch is fine.

wav and mp3 , 44KHZ
 

Is it possible the SDK version?
10.3(UNSUPPORTED: Local iOS SDK is 11.0 which does not match)

Try this sample project on your iOS device:

https://github.com/coronalabs/Endless-Skateborder

It uses mp3 for sound effects and works on both iOS and Android.

Note: I hope my original post didn’t come off as condescending. It is just that I’ve seen posts like this many times and 100% of the time, the user had flipped the ringer switch or had some odd settings in the system settings that were disabling the sound.

I blame Apple’s un-intuitive menus for this, as well as the fact that the ringer switch can be re-purposed as mute.

Questions:

  1. Mono or Stereo files.

  2. How do other sample Corona projects with sound work?

  3. Do any other games on your phone have this problem?

Hi  there,

You are right, I owe you $5   ^^!

Best

Vincent