Re: Slow audio device starting on Lion?
Re: Slow audio device starting on Lion?
- Subject: Re: Slow audio device starting on Lion?
- From: Jeff Johnson <email@hidden>
- Date: Sat, 21 Jan 2012 14:22:36 -0600
Hi Dave.
It's been a while, but just following up.
I'm not sure this is the same issue you were experiencing. Mine only started on 10.7, not on 10.6. Also, AudioDeviceStart() is not blocking, it returns immediately. The delay is just in the time it takes for the callback to first occur.
-Jeff
On Jan 2, 2012, at 2:11 PM, Dave Fernandes wrote:
> Sounds like a known problem on both Mac OS and iOS:
>
> http://lists.apple.com/archives/coreaudio-api/2010/Jun/msg00308.html
> http://osdir.com/ml/coreaudio-api/2011-01/msg00043.html
>
> Perhaps it is a power-saving feature, as Shaun Guth suggests.
>
> Dave
>
> On 2012-01-02, at 1:49 PM, Jeff Johnson wrote:
>
>> I'm calling AudioDeviceCreateIOProcID() and then AudioDeviceStart(). In my tests, I'm using the built-in output device. On some (but not all) machines running Lion, I'm seeing a half a second delay between the time AudioDeviceStart() returns and my AudioDeviceIOProc first gets called. I've never seen nearly this long of a delay with Snow Leopard and earlier. What would cause the delay, and is it to be expected? I know that Core Audio has changed fundamentally in Lion, so I'm wondering if that has something to do with it.
>>
>> -Jeff
_______________________________________________
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