Re: Some more questions about sample rate notifications
Re: Some more questions about sample rate notifications
- Subject: Re: Some more questions about sample rate notifications
- From: Stéphane Letz <email@hidden>
- Date: Tue, 15 Jan 2008 18:23:18 +0100
>kAudioDevicePropertyDeviceIsRunning is only ever sent from the
devices IO thread. It gets sent when the IO thread finishes
initializing itself to indicate that things are running as well as
when the >thread is exiting to indicate that things have stopped.
There are no other ways to get this notification (BTW, you can see
this for yourself in the HAL plug-in SDK in the class HP_IOThread). If
you are >indeed seeing this notification, it means that somebody is
starting IO in your process. If it isn't you, then it is some API you
depend on like QT or something else.
No use if QT at all.. but of AUHAL yes. Could it be the reason?
That said this does not help a lot for the initial question. What
would be the best property to listen to to detect a change in the
aggregate driver? is there a way to know when sub-device of the
aggregate are dropped? or the stream layering maybe?
Thanks
Stephane Letz
_______________________________________________
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