• 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
Output AU render callback requirements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Output AU render callback requirements


  • Subject: Output AU render callback requirements
  • From: "Tim Dorcey" <email@hidden>
  • Date: Mon, 06 Mar 2006 16:05:20 -0800
  • Importance: Normal

I am using the standard output unit to play compressed audio.  Currently, I
decompress the audio in a different thread, and my render callback
(kAudioUnitProperty_SetRenderCallback) pretty much just does a mem copy to
deliver data to the output unit.

Now, I see it would be handier if I did the decompression within the render
callback.  Is there any problem with this?  Does the Output AU fetch enough
ahead that it won't run dry if the render callback takes a bit of time?  The
codec is not terribly complicated, I think somewhere on the order of 25
floating point multiplies per sample.

Thanks,

Tim

 _______________________________________________
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

  • Prev by Date: Re: AudioUnitRender error
  • Next by Date: Create Aggregate Device
  • Previous by thread: Re: SampleAccurate Tempo
  • Next by thread: Create Aggregate Device
  • Index(es):
    • Date
    • Thread