Re: Simple File-writting AudioUnit?
Re: Simple File-writting AudioUnit?
- Subject: Re: Simple File-writting AudioUnit?
- From: Doug Wyatt <email@hidden>
- Date: Sun, 4 Sep 2005 13:51:16 -0700
If you can require Tiger, a pretty simple way to implement this is
with AudioToolbox/ExtendedAudioFile.h ... the asynchronous writing
routines allow you to push audio on the render thread (perhaps from a
post-render callback on the output unit) off to a secondary thread
that will write it to a file.
Doug
On Sep 3, 2005, at 14:15, Felipe Bruno Baytelman P. wrote:
Hi everyone, pros and newbies (like me):
I want to incorporate recording into an audiounit graph, but I
think probably this is already done. I just want to save what's
going through just before the HAL into a file, encoding in whatever
(AIFF, AAC, ... The simpler one to code)
Is there any "already simple enough" solution? Or this common
problem has to be hard-coded again? Does anyone of you have this
solution done, ready to pack and sell? (I would love to get it for
free, but... who knows...)
All I need is two methods in this audioUnit:
-[au startSavingToFile: afile];
-[au stopSaving];
Or something similar.
Thanx!
Felipe Baytelman
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
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