• 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: Custom AudioUnit PROCESS function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom AudioUnit PROCESS function


  • Subject: Re: Custom AudioUnit PROCESS function
  • From: Stefan Gretscher <email@hidden>
  • Date: Tue, 11 Jan 2005 10:56:52 +0100

Am 09.01.2005 um 10:32 schrieb Felipe Baytelman:
How do I know which bus (I assume a bus is one of the Stereo channel) I'm processing?
For example, if I'm processing bus number two, I need to go back one sample to merge it...
if I'm processing bus number one I should look one forward...
Don't confuse channels and busses. In AU world, a "bus" describes some meaningful group of "channels"
that belong together - a bus can be mono, stereo, 5.1 surround, etc - thus containing 1, 2, 6 etc. channels.
Think of busses as routing options of the AU in the host - e.g. in case of stereo input, you want to route a
pair of channels in one go instead of wiring up left and right channel separately.


In your case, you'd ideally have a stereo input bus and two mono output busses.
But be aware that some hosts will not support an AU effect with such a config, so if you intend to use the AU
in as many hosts as possible, you may rather go for an (additional) 1 stereo in bus/ 1 stereo out bus config.
Also, as Mark already described, you'll have to do some special override in your rendering code to process
both input channels together at the same time.


Best,
Stefan

_______________________________________________
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


References: 
 >Custom AudioUnit PROCESS function (From: Felipe Baytelman <email@hidden>)

  • Prev by Date: What starves audio playback?
  • Next by Date: CPU limit for RT audio thread?
  • Previous by thread: Re: Custom AudioUnit PROCESS function
  • Next by thread: Re: Custom AudioUnit PROCESS function
  • Index(es):
    • Date
    • Thread