• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mixing arbitrary numbers of sounds out an AUHAL unit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Pink noise filtering
  • Next by Date: Sending sound across the Network
  • Previous by thread: Thank you.
  • Next by thread: Sending sound across the Network
  • Index(es):
    • Date
    • Thread