I use AVAudioPlayer to play a monaural AIFF file from the application's document directory.
In the simulator [player playback], YES is returned, and I hear that the file is playing. On the device, the playback method returns NO, and nothing happens. I grabbed the file through the Organizer - it plays perfectly on my Mac and seems to be well formed. I understand that the simulator can access codecs that are not available on the iPhone, but that doesn't matter in this case, does it?
I do not understand how to debug this. Any suggestions?
source share