Bluetooth IO problems (aurioTouch sample app)
Bluetooth IO problems (aurioTouch sample app)
- Subject: Bluetooth IO problems (aurioTouch sample app)
- From: Rick Cohen <email@hidden>
- Date: Wed, 16 Feb 2011 11:47:01 -0500
Hello folks,
I have acquired a Belkin "AirCast Auto" Bluetooth Car Kit, and wanted
to make this work with my iPad app, which uses
kAudioSessionCategory_PlayAndRecord.
I set the requisite property,
kAudioSessionProperty_OverrideCategoryEnableBluetoothInput, but audio
output is still being routed to my iPad's internal speaker, and the
internal mic is still being used for input.
I checked the kAudioSessionProperty_AudioRoute property, and it is
returning "SpeakerAndMicrophone" whether the Bluetooth device is
connected or not. If I plug in a wired headset, the property changes
to "HeadsetInOut", and changes back to "SpeakerAndMicrophone" when I
disconnect the wired headset.
When the Bluetooth device is connected, I can see the extra input
selection widget in the iPod app next to the volume slider, and the
Bluetooth device is selected.
Next I tried the same experiment with the aurioTouch sample app. I
got the same results (the Bluetooth IO was not working).
I am building with the iOS 4.2 SDK, and the deployment target is also
set to 4.2, and the iPad has 4.2.1 (8C148) installed.
This same Belkin unit was working for my friend's iPhone as a
Bluetooth input/output device on some commercial apps.
Any clues as to what I'm doing wrong? I tried setting the
kAudioSessionProperty_OverrideCategoryEnableBluetoothInput property in
various places (e.g. before and after making the session active,
before and after initializing RemoteIO, etc.).
Thanks in advance for any and all help!
- Rick Cohen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden