• 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
Connecting Audio Effect Units
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Connecting Audio Effect Units


  • Subject: Connecting Audio Effect Units
  • From: Brian Davies <email@hidden>
  • Date: Thu, 31 May 2012 08:36:44 +1000

New to Core Audio

In an App, I want to instantiate and connect two Audio Effect Units.  Quite a lot of sample code to be found in CAPlayThrough.

Question:  if I set up an AudioUnitConnection structure

upstreamConnection{
upstreamUnit,
upstreamOutput = 0,
downstreamInput = 0
}

then call

AudioUnitSetProperty(
kAudioUnitProperty_MakeConnection,
kAudioUnitProperty_Input,
0,
&upstreamConnection,
sizeof(upstreamConnection)
)

is that ALL I need to do?

Reason for question:  the documentation I have talks about the Render Callback Structure and Property, and the actual rendering method that gets invoked, as well as describing the AudioUnitSetProperty call.  Do I need to know ANY of that in relation to the two effect units I am connecting, or does the specification of effect units guarantee that everything will be discovered by the AudioUnitSetProperty call?

Thanks

Brian Davies

email@hidden
www.kagi.com/clickrepair


 _______________________________________________
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: Mark Gregory is out of the office.
  • Next by Date: Re: Mark Gregory is out of the office.
  • Previous by thread: Re: Mark Gregory is out of the office.
  • Next by thread: Audio Unit Latency
  • Index(es):
    • Date
    • Thread