• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simple File-writting AudioUnit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Simple File-writting AudioUnit?
      • From: "Felipe Bruno Baytelman P." <email@hidden>
References: 
 >Simple File-writting AudioUnit? (From: "Felipe Bruno Baytelman P." <email@hidden>)

  • Prev by Date: Re: Coreaudio-api Digest, Vol 2, Issue 265
  • Next by Date: Re: Coreaudio-api Digest, Vol 2, Issue 266
  • Previous by thread: Simple File-writting AudioUnit?
  • Next by thread: Re: Simple File-writting AudioUnit?
  • Index(es):
    • Date
    • Thread