Re: AudioDeviceStart
Re: AudioDeviceStart
- Subject: Re: AudioDeviceStart
- From: Steven Spencer <email@hidden>
- Date: Tue, 18 Nov 2003 17:42:52 +0000
CoreAudio is asynchronous in operation.
The device is running when kAudioDevicePropertyDeviceIsRunning is received by the callback.
Steve S.
On Tuesday, November 18, 2003, at 04:29PM, Jim Dolan <email@hidden> wrote:
>
Hi -
>
>
System: G5 dual - with the built in audio device:
>
>
If I call AudioDeviceStart successfully and then immediately query
>
kAudioDevicePropertyDeviceIsRunning property, the device does NOT always
>
report that it is running. I have had to wait 100 to 1000ms before getting
>
the proper value from the device.
>
>
When is the device officially running - after the start call or only after a
>
callback has occurred or some other time? The documentation says that a
>
callback will likely occur before AudioDeviceStart returns but there is no
>
guarantee of that.
>
>
Can anyone describe what I should be able to expect?
>
>
Thanks
>
Jimmy D.
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.