AudioUnits....
AudioUnits....
- Subject: AudioUnits....
- From: George Malayil-Philip <email@hidden>
- Date: Mon, 19 Dec 2005 21:29:41 -0500
- Thread-topic: AudioUnits....
Hi,
I am trying to read a file into memory, process the data with a series
of audio units, then convert it to .mp3 using LAME and then also output it
to a file and default output. The problem is in taking the output from the
last of the first series of audio unit renders and pass it on to LAME and
from there to the output unit and file. What would be the best way to do
this? Do I write my own audio unit that uses LAME? This way I figure the
pull I/O model would work fine, would just have to insert the new LAME audio
unit into the sequence.
Otherwise, is there any way for me to get to the buffer of a audio
unit's output, process that buffer with LAME and then signal the output
audio unit that there is new data waiting to be output?
The other option is to use a render call back struct that starts the
first series of audio units, process the data with LAME and provide this
callback struct as the input proc for the output unit. This would be a
little tedious if there are multiple breaks in the audio unit path, so, I
figure there might be a better way :)
Still triyng to figure out the framework. Thanks
Regards
George M.P.
_______________________________________________
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