accessing input format of an audiounit in a graph
accessing input format of an audiounit in a graph
- Subject: accessing input format of an audiounit in a graph
- From: Daniel Oberhoff <email@hidden>
- Date: Sun, 25 Mar 2007 16:09:31 +0200
Hi,
I am trying to play audio from my sample editor app through an au
graph which consists of effects and a standard output unit at the end.
I set a render callback in the head unit of the graph which pulls
data through a converter. To find the target format for the converter
I query the head au, but I always get an invalid format, or rather it
seems the query doesn't fill in anything. The graph is updated and
initialized at this point (as reported by the relevant graph
functions). Before I had naively tried to set the input format on the
au manually as I had done when playing directly to the output au, but
there I had gotten an error, telling me the unit was not initialized.
Now there is no way to ask a unit if it is initialized, but I suppose
when the graph is updated and initialized the units in it will also?
Daniel Oberhoff
_______________________________________________
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