Is is possible to have an AUGraph output to memory?
Is is possible to have an AUGraph output to memory?
- Subject: Is is possible to have an AUGraph output to memory?
- From: Dave Camp <email@hidden>
- Date: Thu, 10 May 2012 17:15:30 -0700
I'm working on a test harness for some Mac OS Core Audio codecs and file components we are working on. In a nutshell, I'd like to be able to run my test data through an AUGraph, but instead of outputting to a device, I'd like to save it to a buffer for offline analysis.
Is there a way to do this? I've setup a simple graph with a single format converter set to convert between two flavors of LPCM, set the render callback on the input of the converter, but when I start the graph I get a kAUGraphErr_NodeNotFound, presumably because there is no output node.
Will I need to create my own custom output component (something like the RAW sample file component) to do this? Or is there a way to associate a callback with the output of the converter that will be called with the converted samples?
Thanks,
Dave
_______________________________________________
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