Top "Avaudioplayer" questions

Apple’s AVFoundation framework includes AVAudioPlayer, an easy, feature rich, Objective-C based API for playing audio files.

Swift 3 sound play

Ok I have looked into this and have tried many different ways to play a sound when a button is …

swift3 avfoundation avaudioplayer
Sound not playing with AVAudioPlayer

I've searched and I believe my problem is quite unique. I'm aware of the Simulator 5.1 bug when using AVAudioPlayer which …

iphone ios audio avaudioplayer core-audio
iPhone: AVAudioPlayer unsupported file type

My app downloads an mp3 from our server and plays it back to the user. The file is 64 kbps (which …

iphone ios mp3 avaudioplayer
Slow start for AVAudioPlayer the first time a sound is played

I'm trying to eliminate startup lag when playing a (very short -- less than 2 seconds) audio file via AVAudioPlayer on …

iphone caching audio nsdata avaudioplayer
IOS 8 Swift AVAudioPlayer play remote audio (wowza server)

I am not an IOS programmer but I need a simple app to play an audio stream from a wowza …

ios swift ios8 avaudioplayer
Are headphones plugged in? iOS7

Developing an app for an iPhone with audio files that need to be listened too through headphones. How do I …

ios ios7 avaudioplayer avaudiosession headphones
How Do I Get Audio Controls on Lock Screen/Control Center from AVAudioPlayer in Swift

New to iOS development, so here goes. I have an app that is playing audio - I'm using AVAudioPlayer to …

ios swift avfoundation avaudioplayer mpmusicplayercontroller
playing a mp3 file in iOS app

I can't figure out how to play a music file in an iPhone game. Im creating a Game and I …

ios avaudioplayer
How to handle error code -43 from NSOSStatusErrorDomain when initializing AVAudioPlayer Object?

I observed strange behavior while working with AVAudioPlayer Following is the code: AVAudioPlayer *newPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL: [NSURL fileURLWithPath:[NSString …

avaudioplayer
Recording audio in mp3 format in an iPhone app

I am developing an iPhone app which records the audio in .wav format. Here is the code: NSMutableDictionary* recordSetting = [[NSMutableDictionary …

iphone objective-c ios avaudioplayer avaudiorecorder