Re: Question about IOBluetoothAddSCOAudioDevice
Re: Question about IOBluetoothAddSCOAudioDevice
- Subject: Re: Question about IOBluetoothAddSCOAudioDevice
- From: Zach Rosen <email@hidden>
- Date: Thu, 1 Feb 2007 00:04:22 -0800
Hi again Harel.
1) I'm not sure if you're using it already, but the MTCoreAudio
framework posts a MTCoreAudioHardwareDeviceListDidChangeNotification
when the device appears.
2) I don't know if the deprecation warnings are a bug or intentional,
but you can silence them by doing a #define
BLUETOOTH_VERSION_USE_CURRENT before importing the IOBluetooth
framework.
Hope this helps.
--------------------------------------------------
Zach Rosen
CEO & Senior Engineer
mirasoftware.com
--------------------------------------------------
On Jan 31, 2007, at 6:49 PM, Harel M. Williams wrote:
Hey all,
Sorry to be emailing again so soon. I figured out the answer to
question one. I simply wasn't waiting long enough before looking for
the installation of the audio device. My bad.
Could someone from Apple please respond to my second question when one
gets a chance? Thanks so much!
-Harel
On 1/31/07, Harel M. Williams <email@hidden> wrote:
Hey all,
I am a master's student at MIT and I am doing some bluetooth related
research for my thesis.
All the resources provided by you guys at Apple have been a boon for
me. Thank you so much!
So here are some questions related to SCO:
1. I have succeeded in sending audio back and forth between my Mac
and
bluetooth enabled phone using IOBluetoothAddSCOAudioDevice and
advertising the Hands-Free Profile. However, I can't seem to get a
handle on the audio driver created by the function. I would like to
programatically control properties of the driver (such as the volume,
etc), but using MTCoreAudio Framework, when I ask it to return an
array of all the audio devices, the connected phone is not in the
list. However, I know an Audio Driver is installed because it is in
the Sound Preferences panel. Any ideas?
2. Every time I build my project using IOBluetoothAddSCOAudioDevice
and IOBluetoothRemoveSCOAudioDevice, I get a warning from the
compiler
saying that these functions are deprecated. Should I be using some
other functions in order to create SCO connections between my Mac and
cell phone?
Thanks for taking the time to read this. Any advice or guidance would
be very much appreciated!
-Harel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mirasoftware.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden