Re: simultaneous audio input/ output
Re: simultaneous audio input/ output
- Subject: Re: simultaneous audio input/ output
- From: Jeff Moore <email@hidden>
- Date: Thu, 31 Mar 2005 11:52:19 -0800
Simultaneous input and output is the expected behavior of devices
capable of it. The driver should not be making the decisions about
whether or not to enable/disable it. The applications will tell the
driver whether they want to use input and/or output via the client
buffers that the HAL registers for each stream with each user client
object. If it isn't going to use a given stream, it won't register a
buffer for it. If the driver notices that there are no user clients
that have any buffers registered for any of the streams in a given
direction, it can then optimize the behavior. Until then, the driver
should respect the wishes of the applications.
On Mar 31, 2005, at 11:17 AM, Tommy Schell wrote:
Hi,
I do an audio capture and notice that in my audio driver, my
clipOutputSamples() routine is being called in addition to
convertInputSamples(), ie, I have simultaneous audio input/ output
(although it appears the output in this case is all zero's).
Is there a way to prevent this, to turn off the output when I'm
doing input?
Because I want to try to share the input/output buffers.
--
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