• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bluetooth IO problems (aurioTouch sample app)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Bluetooth IO problems (aurioTouch sample app)
      • From: Rick Cohen <email@hidden>
  • Prev by Date: sequencer from callback
  • Next by Date: Re: mouse events in Xcode-generated AudioUnit project
  • Previous by thread: Re: sequencer from callback
  • Next by thread: Re: Bluetooth IO problems (aurioTouch sample app)
  • Index(es):
    • Date
    • Thread