Info about AudioDeviceAddPropertyListener?
Info about AudioDeviceAddPropertyListener?
- Subject: Info about AudioDeviceAddPropertyListener?
- From: Stephen Shaw <email@hidden>
- Date: Tue, 16 Aug 2005 11:42:25 -0700
- Thread-topic: Info about AudioDeviceAddPropertyListener?
I'm looking at the complex play thru example and there is a call to
AudioDeviceAddPropertyListener ()
Looking at the current CoreAudio.pdf (7/6/2005) I can't find a reference to
this call, however using google, I find a reference to the API in another
CoreAudio.pdf (at developer.apple.com/audio/pdf/coreaudio.pdf) dated may
2001
Has this call been depricated? If so, what is the prescribed method of
installing a listener as in the Complex Play Thru Example?
Thanks,
Stephen
>From ComplexPlayThru.cpp:
OSStatus ComplexPlayThru::Init(AudioDeviceID input, AudioDeviceID output)
{
...
//Add a listener for the input device's sample rate
//the method DeviceSample rate listener will be called if the user
//decides to change the sample rate of the device
err = AudioDeviceAddPropertyListener(mInputDevice.mID,
kAudioPropertyWildcardChannel,
1,
kAudioDevicePropertyNominalSampleRate,
DeviceSampleRateListener,
this);
_______________________________________________
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