Connecting AU output to >1 destination -- PLEASE HELP!!!
Connecting AU output to >1 destination -- PLEASE HELP!!!
- Subject: Connecting AU output to >1 destination -- PLEASE HELP!!!
- From: Patrick Gostovic <email@hidden>
- Date: Mon, 18 Aug 2003 10:16:25 -0400
Hi.
I've been racking my brain for weeks now, studying all of the (sadly
sparse) core audio docs, and resorting to just plain trial and error
but I cannot for the life of me connect a single output bus of an AU to
more than one destination AU at a time. I'm pretty sure it must be
possible because I am able to do it with the "Dave" app in the
developer examples. Even though Dave is written in java, it is my
understanding that the java api is just a wrapper around the C api --
so I would think that following the same steps as Dave should work, but
alas...:( Anyway, an exmaple of what I am trying to do is something
like this...
synth
/ \
| reverb
| /
mixer
|
output
I am using the AUGraph API, AUGraphCopnnectNodeInput(...), etc. I get
a kAUGraphErr_InvalidConnection (-10861) error on
AUGraphCopnnectNodeInput when I try to make the second connection from
the synth.
The basic flow of code I'm using goes like this....
NewAUGraph
AUGraphOpen
AUGraphInitialize
AUGraphStart
AUGraphNewNode (synth)
AUGraphNewNode (reverb)
AUGraphNewNode (mixer)
AUGraphNewNode (output)
AUGraphConnectNodeInput (synth to mixer)
AUGraphConnectNodeInput (synth to reverb) --
kAUGraphErr_InvalidConnection
AUGraphConnectNodeInput (reverb to mixer)
AUGraphConnectNodeInput (mixer to output)
AUGraphUpdate
Am I missing something obvious? I would really appreciate some help
with this.
Thanks.
Patrick
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.