I am trying to play the sample sound file in the avTouch sample code from the Apple dev site. I can't move the app to my phone as i am in the enrollment process and don't yet have access to the phone.
The code below is from the sample code.
NSURL *fileURL = [[NSURL alloc] initFileURLWithPath: [[NSBundle mainBundle] pathForResource:@"sample" ofType:@"m4a"]];
self._player = [[AVAudioPlayer alloc] initWithContentsOfURL:fileURL error:nil];
Once I hit the second line the app never comes back. Am i missing something? I have found a couple things about the size of the sound in the simulator but haven't seen a real answer yet.
thanks