Re: Mixing arbitrary numbers of sounds out an AUHAL unit
Re: Mixing arbitrary numbers of sounds out an AUHAL unit
- Subject: Re: Mixing arbitrary numbers of sounds out an AUHAL unit
- From: Christopher Ashworth <email@hidden>
- Date: Fri, 17 Nov 2006 22:16:34 -0500
- Resent-date: Fri, 17 Nov 2006 22:45:49 -0500
- Resent-from: Christopher Ashworth <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
On Nov 15, 2006, at 10:37 PM, William Stewart wrote:
In the meantime, what you need to do is to manipulate the callbacks
from the render thread - the AUGraph has a add/remove notify call
and you can do this from there. There's an example implementation
of this in the code we provide for OpenAL (openal.org) which uses a
lock free message queue to do this.
[...]
One other thing you could do with the matrix mixer is to just
connect everything up and then use the MM's enable/disable
parameter - this has the effect of the MMixer NOT calling that
input if the input is disabled (and also when you disable an input
it will fade out that input to avoid glitches).
Thanks very much Bill! I opted to try the latter, and it works
beautifully.
Regards,
Chris
_______________________________________________
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