Sound not working on latest iPad build

The sounds in my application running on an iPad 1 stopped working as of the last build. It worked previously which was about a month ago. I've not made any coding changes to the app other than doing a little repositioning of buttons. I believe I also upgraded the iOS on the hardware. The sound works fine in the simulator and on my iPhone 4. So what's up?

Using media.playsound and .caf audio files. iPad and iPhone 4 both running on iOS 4.3.3.

Any help would be appreciated.

read the friendly manual

http://developer.anscamobile.com/content/multimedia

" Note: The audio functions in this section have been replaced by a new OpenAL audio library that supports multiple channels and a wide range of features. It is recommended that all audio playback use this new library. http://developer.anscamobile.com/reference/audio "

Audio not working on iPad 1 device build here either. Tested with Corona's own SimpleMixer sample app too. Using newest SDK.

Can anyone else test/verify?

Thanks,

Trond.

Modified code to use audio library instead of media, updated iPhone4 and iPad1 to iOS 4.3.5, updated Corona to 2011.591. Simulator and iPhone4 work great - still no audio on iPad.

Ansca support - any ideas?

turn up the volume? is it on mute?

it works - even Trond got back to me and said it worked.

.c

Checking the sound control was the first thing I did, but just to make sure I tried it again. Sound is fine with other applications on the iPad - Angry Birds are still chirping and plunking along - but thanks for the suggestion.

ARGH! SPAM!!!! GO AWAY!

This is my experience currently. No audio on device. I tried Johnathan's proven title monster, sample mixer, and of course my game... no audio on device :-(...

Willy J.

- Make sure the mute switch is not on and the volume on the device is all the way up
- Use the new audio API
- Reboot your iPad

We haven't made many (if any) changes to audio recently. I do most of my audio device testing on an iPad so it should work.

Ewing:

I did everything you said. I tested it on 3 android devices it works. I tested it on iPad version 4.3.3 it works. But it doesn't work on iPad 4.3.5.

And yes, my mute button is not on and I have my volume all the way up. I have a recording device that plays back sound and I've my bible app that reads back to me... So I know my sound is work.

Willy J.

Interesting...could be an Apple regression bug on iPad 1 for 4.3.5?
Do any of the sample apps like EggBreaker or SimplePool work?

My most recent testing has been on iPad 2 with 4.3.5 I believe. That worked last I checked.

The backend code for iPhone and iPad is identical for sound. (And Mac is probably 99% identical.)

The sample pool has no music in it:
http://developer.anscamobile.com/sites/default/files/downloads/SimplePool.zip

I have tried other sample apps... It still does not work on iPad 2 4.3.5. That is what I have, not iPad 1. It does work on iPad 2 4.3.3 and android devices which I've tested.

I'm referring to the Pool game that is bundled with the Corona Simulator. (It's in the Welcome Window.) There should be sound effects. It has no music track. But this brings up other questions. Does using audio.loadSound() vs audio.loadStream() make a difference?

And I probably should clarify a point. Based on the first response posted here:
" Note: The audio functions in this section have been replaced by a new OpenAL audio library that supports multiple channels and a wide range of features. It is recommended that all audio playback use this new library. http://developer.anscamobile.com/reference/audio "

I'm expecting you to have to migrated to the new audio system. If you have not migrated, then you are probably doing something unsupported with media.playEventSound that wasn't guaranteed to work in the first place.

I got it. I downloaded it and it still didn't work. I am using both. audio.loadSound() for short sounds and audio.loadStream() for longer music...

I am using the OpenAL audio lib. If you'd like I can e-mail you my project? Let me know. Again, I have tested this on 5 devices. All but one failed. I have tried sample projects, projects submitted in the code exchange. With what I have done, I am certain that it does not work on 4.3.5

Hmmm, if it worked before 4.3.5, then it is likely an Apple regression bug.
So first and most importantly, file a bug report with Apple.
https://bugreport.apple.com
Tell them it is a regression bug with OpenAL.

Second, I'll try to take a look myself. Please file a bug with us so this doesn't get lost:
http://developer.anscamobile.com/content/bug-submission
Please put the Apple bug number you file in the report. I will file a duplicate with Apple once I verify it. (I may be able to supply additional information to them.)

You can include your sample project if you wish, though if our own sample code is broken, then this is optional.

Okay. I had already submitted a report with you guys. I'll go ahead now and submit a report with apple now...

Apple Bug ID# 10035945

I am unable to reproduce your problem.

I just upgraded an iPad 2 from 4.3.3 to 4.3.5 and just tested SimplePoolPlus (the pool program that ships with Corona). It works fine for me. I also spot checked a few other Corona apps that use audio already installed on my device and they work fine.

Wow! Well, thank you! I'll upgrade one of our iPad 2 from 4.3.3 to 4.3.5 to see if it is just that device.

Ewing:

Thank you for your help on this again! I was able to determine that we had a defective device. I upgraded two other iPads to 4.3.5 and it work as expected.

Thanks!!!

Willy J.

views:1912 update:2011/10/4 8:06:35
corona forums © 2003-2011