Re: HAL output mixing buffer on multi-processor machines?
Re: HAL output mixing buffer on multi-processor machines?
- Subject: Re: HAL output mixing buffer on multi-processor machines?
- From: Jeff Moore <email@hidden>
- Date: Wed, 24 Jan 2007 10:49:55 -0800
The HAL doesn't do any mixing. Mixing is part of the job the driver
does. Further, this is done behind a lock in the kernel to prevent
interference by other threads.
The code for this is in the IOAudio Family in Darwin. The code path is
rooted at IOAudioEngineUserClient::performClientIO(), which is the
trap the HAL calls on the IO thread.
On Jan 24, 2007, at 4:54 AM, Stéphane Letz wrote:
Only by curiosity : how does the HAL mix audio buffers coming from
several Audio clients on an multi-processor machine? Since each
Audio I/O thread could be running on one processor, there is
possible concurrency when accessing the output mixing buffer...
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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