Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing arbitrary numbers of sounds out an AUHAL unit




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:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.