iphone Programming Glossary: avaudiosessioncategoryplayandrecord
How do I record audio on iPhone with AVAudioRecorder? http://stackoverflow.com/questions/1010343/how-do-i-record-audio-on-iphone-with-avaudiorecorder stopButton release AVAudioSession audioSession AVAudioSession sharedInstance NSError err nil audioSession setCategory AVAudioSessionCategoryPlayAndRecord error err if err NSLog @ audioSession @ d @ err domain err code err userInfo description return audioSession setActive YES..
Record the sound and play it back with changed pitch http://stackoverflow.com/questions/10549317/record-the-sound-and-play-it-back-with-changed-pitch other way to implement this my code void initialSetup count 0 silenceTime 0 AVAudioSession sharedInstance setCategory AVAudioSessionCategoryPlayAndRecord error nil recordSetting NSMutableDictionary alloc init recordSetting setValue NSNumber numberWithInt kAudioFormatAppleLossless.. recorder setDelegate self recorder updateMeters recorder prepareToRecord AVAudioSession sharedInstance setCategory AVAudioSessionCategoryPlayAndRecord error nil In Order To Move Sound To The Speaker UInt32 audioRouteOverride kAudioSessionOverrideAudioRoute_Speaker AudioSessionSetProperty..
record input coming from bluetooth headset in iPhone http://stackoverflow.com/questions/18226255/record-input-coming-from-bluetooth-headset-in-iphone AVAudioSession audioSession AVAudioSession sharedInstance audioSession setDelegate self audioSession setCategory AVAudioSessionCategoryPlayAndRecord error nil audioSession setActive YES error nil set up for bluetooth microphone input UInt32 allowBluetoothInput 1 OSStatus..
how to route iPhone audio to the bluetooth headset http://stackoverflow.com/questions/2375837/how-to-route-iphone-audio-to-the-bluetooth-headset AVAudioSession audioSession AVAudioSession sharedInstance audioSession setDelegate self audioSession setCategory AVAudioSessionCategoryPlayAndRecord error nil audioSession setActive YES error nil set up for bluetooth microphone input UInt32 allowBluetoothInput 1 OSStatus..
How do I get my AVPlayer to play while app is in background? http://stackoverflow.com/questions/4771105/how-do-i-get-my-avplayer-to-play-while-app-is-in-background NSError sessionError nil AVAudioSession sharedInstance setDelegate self AVAudioSession sharedInstance setCategory AVAudioSessionCategoryPlayAndRecord error sessionError Pick any one of them 1. Overriding the output audio route UInt32 audioRouteOverride kAudioSessionOverrideAudioRoute_Speaker..
how to record audio through an iPhone app? http://stackoverflow.com/questions/5602901/how-to-record-audio-through-an-iphone-app an audio session using AVAudio session class AVAudioSession audioS AVAudioSession sharedInstance audioS setCategory AVAudioSessionCategoryPlayAndRecord error error audioS setActive YES error error NSURL url NSURL fileURLWithPath @ dev null NSDictionary settings NSDictionary..
Avfoundation - Play and record video (along with audio and preview) simultaneously http://stackoverflow.com/questions/6991452/avfoundation-play-and-record-video-along-with-audio-and-preview-simultaneous and record NSError error nil AVAudioSession audioSession AVAudioSession sharedInstance if audioSession setCategory AVAudioSessionCategoryPlayAndRecord error error NSLog @ AVAudioSession setCategory failed @ error localizedDescription Set audio session property allow mixing..
this app was developed and works fine under ios 5.0, but crashes under ios 4.3 http://stackoverflow.com/questions/8397223/this-app-was-developed-and-works-fine-under-ios-5-0-but-crashes-under-ios-4-3 audio processing is audio_session AVAudioSession sharedInstance retain audio_session_err nil audio_session setCategory AVAudioSessionCategoryPlayAndRecord error audio_session_err NSLog @ UInt32 audioRouteOverride 1 AudioSessionSetProperty kAudioSessionProperty_OverrideCategoryDefaultToSpeaker..
AVAudioRecorder Record method returns NO at random times http://stackoverflow.com/questions/9706020/avaudiorecorder-record-method-returns-no-at-random-times be initialized AVAudioSession audioSession AVAudioSession sharedInstance NSError err nil audioSession setCategory AVAudioSessionCategoryPlayAndRecord error err if err NSLog @ audioSession @ d @ err domain err code err userInfo description return err nil audioSession setActive..
|