This class provides an Objective-C alternative to many features from the C-based Audio Session Services.
When I set: [[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryPlayAndRecord error:NULL]; …recording and playing works fine, just the playback volume is around 60% …
audio ios avaudiosessionSo in my app, running on iOS 6, everything seems to work fine with audio. I use the old C API …
ios audio avaudiosession interruptionI working on a little app where i want the phone to play a sound file on an event from …
iphone ios avaudioplayer avaudiosessionI received the following error when I get the property using AudioSessionGetProperty(kAudioSessionProperty_CurrentHardwareSampleRate,&size, &myAudioDescription.mSampleRate) Error …
objective-c ios core-audio avaudiosessionI have an iOS app that streams background audio using AVAudioSession. It is working correctly, but I am curious, is …
ios objective-c swift avaudiosession mpnowplayinginfocenterI am trying to use AVAudioSession, but it is throwing this runtime error: [avas] AVAudioSessionPortImpl.mm:56:ValidateRequiredFields:Unknown selected data …
ios swift avfoundation avaudiosessionHow do i pass the song info such as song name and track duration to control center. Player plays music …
ios objective-c avaudioplayer avaudiosession control-centerAfter migrating to Swift 4.2, I am getting multiple errors, one of which is weird. It seems like a bug in …
swift xcode avaudiosession xcode10 swift4.2So I have an app that plays a bunch of songs while the user can flip through a comic book. …
ios background touch avaudioplayer avaudiosessionI'm playing around with AVSpeechSynthesizer and always getting these errors: ERROR: >aqsrv> 65: Exception caught in (null) - error …
ios objective-c avfoundation avaudiosession