Top "Avaudiosession" questions

This class provides an Objective-C alternative to many features from the C-based Audio Session Services.

Alternative to deprecated AudioSessionGetProperty, for iOS 7

I am using AudioSessionGetProperty to check 'audioIsAlreadyPlaying'. Xcode says: 'AudioSessionGetProperty' is deprecated: first deprecated in iOS 7.0 Please could someone tell …

ios avaudiosession
How to mute/unmute audio when playing video using MPMoviePlayerController?

I've created my own custom controls for use with the MPMoviePlayerController. So far everything works except the mute button control. …

ios ios6 mpmovieplayercontroller avaudiosession mute
Hide Red Recording Status Bar In iOS App When Not Recording

I can't get the red "Recording" status bar to hide in my app when the app is in the background …

ios objective-c audio avaudiosession
iOS: Deprecation of AudioSessionInitialize and AudioSessionSetProperty

I'm very new to Objective-C, and am trying to update some code that's about 3 years old to work with iOS 7. …

objective-c ios7 avaudiosession
AVAudioSession error: Deactivating an audio session that has running I/O

2017-02-24 14:56:44.280 PropertyManager[10172:5336578] 14:56:44.280 ERROR: [0x1a0a24000] AVAudioSession.mm:692: -[AVAudioSession setActive:withOptions:error:]: Deactivating an audio session that has …

ios avaudiosession
AVAudioSession Swift

I am trying to write a swift iOS app that will record the users voice. I have wrote the following …

ios swift avaudioplayer avaudiorecorder avaudiosession
List available output audio target AVAudioSession

I need to list the audio outputs available to an iOS application. My question is similar to this one: How …

ios objective-c airplay avaudiosession
iOS AVAudioSession interruption notification not working as expected

I want to know when my AVAudioRecorder is inaccessible (e.g when music starts playing). As audioRecorderEndInterruption will be deprecated …

ios avfoundation interrupt avaudiorecorder avaudiosession
what are the formats supported in AVAudioRecorder for recording sound?

I have found a list of the different values (Audio Data Format) at http://developer.apple.com/library/ios/#documentation/…

ios avaudiorecorder avaudiosession
Cocos2D 2.1: "Delegate" deprecated in iOS 6. How do I set the delegate for this AVAudioSession?

Started a Cocos2D 2.1 template (with no physics engine) in Xcode 4.5, targeted for iOS 6 and iPad. In the CDAudioManager.m …

delegates cocos2d-iphone avaudiosession