• 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
audio unit bus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

audio unit bus


  • Subject: audio unit bus
  • From: David Shaffer <email@hidden>
  • Date: Wed, 19 Dec 2001 00:27:26 -0700

Where do I assign the bus for an AudioUnit?

I have..

auConn.sourceAudioUnit = [mixerUnit unit];
auConn.sourceOutputNumber = 0;
auConn.destInputNumber = 0;
err = AudioUnitSetProperty(
outputUnit,kAudioUnitProperty_MakeConnection,
kAudioUnitScope_Input,0,&auConn,sizeof(auConn));

.. but also want to reuse the mixer for other data ..

auConn.sourceAudioUnit = [mixerUnit unit];
auConn.sourceOutputNumber = 1; // tried 1 & 0 here and in the set-prop call to get a different bus
auConn.destInputNumber = 0;
err = AudioUnitSetProperty(
someOtherUnitThatEventuallyGoesToOutput,kAudioUnitProperty_MakeConnection,
kAudioUnitScope_Input,1,&auConn,sizeof(auConn));

.. the output from the "1" bus doesn't go anywhere no matter how I configure it. I want to be able to re-use the mixer for many sources and drains. I was under the impression that this was possible. Maybe, I misunderstood and have to use a bunch of mixer units.

I am also having problems getting "pan" to work with a mixer. I have tried the deinterleaver and have tried giving the mixer data that I know is mono. But the "pan" is not working. Are there any examples on how to use pan with a mixer?


  • Prev by Date: Re: Actual Stream vs. Physical Stream ?
  • Next by Date: RE: Actual Stream vs. Physical Stream ?
  • Previous by thread: examples
  • Next by thread: typedef of Float64
  • Index(es):
    • Date
    • Thread