iphone Programming Glossary: allowbluetoothinput
record input coming from bluetooth headset in iPhone http://stackoverflow.com/questions/18226255/record-input-coming-from-bluetooth-headset-in-iphone coming from bluetooth headset and play with default iPhone speaker. I have searched a lot and got this code. UInt32 allowBluetoothInput 1 AudioSessionSetProperty kAudioSessionProperty_OverrideCategoryEnableBluetoothInput sizeof allowBluetoothInput allowBluetoothInput.. allowBluetoothInput 1 AudioSessionSetProperty kAudioSessionProperty_OverrideCategoryEnableBluetoothInput sizeof allowBluetoothInput allowBluetoothInput CODE FOR AUDIO RECORDER START AND STOP IBAction Record id sender UIButton btn UIButton sender.. 1 AudioSessionSetProperty kAudioSessionProperty_OverrideCategoryEnableBluetoothInput sizeof allowBluetoothInput allowBluetoothInput CODE FOR AUDIO RECORDER START AND STOP IBAction Record id sender UIButton btn UIButton sender if btn isSelected audioRecorder..
how to route iPhone audio to the bluetooth headset http://stackoverflow.com/questions/2375837/how-to-route-iphone-audio-to-the-bluetooth-headset error nil audioSession setActive YES error nil set up for bluetooth microphone input UInt32 allowBluetoothInput 1 OSStatus stat AudioSessionSetProperty kAudioSessionProperty_OverrideCategoryEnableBluetoothInput sizeof allowBluetoothInput.. 1 OSStatus stat AudioSessionSetProperty kAudioSessionProperty_OverrideCategoryEnableBluetoothInput sizeof allowBluetoothInput allowBluetoothInput NSLog @ status x stat problem if this is not zero check the audio route UInt32 size sizeof CFStringRef.. stat AudioSessionSetProperty kAudioSessionProperty_OverrideCategoryEnableBluetoothInput sizeof allowBluetoothInput allowBluetoothInput NSLog @ status x stat problem if this is not zero check the audio route UInt32 size sizeof CFStringRef CFStringRef route..
|