Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

accessing input format of an audiounit in a graph



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:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.