• 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: AUGraph with own render thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUGraph with own render thread


  • Subject: Re: AUGraph with own render thread
  • From: Michael Tyson <email@hidden>
  • Date: Tue, 08 Nov 2011 22:58:29 +0100

Hi Heinrich,

> Now my question is, since I am not able to use hardware I/O thread provided by the AUHal, what is the best way to create a manual audio render callback thread without having to sacrifice too much performance.

I'm more familiar with the iOS flavour of Core Audio, so perhaps I'm missing something obvious, but...why exactly can't you perform your AudioUnitRender call from the AUHal thread?  If I were doing something like this on iOS, I'd be registering to receive render notifications (using AudioUnitAddRenderNotify), then within the callback, calling AudioUnitRender, popping the rendered audio into a ring buffer, then pulling it out from the video context when I needed it.

Is there something I'm not seeing?

Cheers =)
Michael



--
Michael Tyson | atastypixel.com
A Tasty Pixel: Artisan apps

aim: mikerusselltyson
twitter: MichaelTyson

 _______________________________________________
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: AUGraph with own render thread
      • From: Heinrich Fink <email@hidden>
References: 
 >AUGraph with own render thread (From: Heinrich Fink <email@hidden>)

  • Prev by Date: Re: NSTimer and trackpad and mouse clicks
  • Next by Date: Changing audio session and disabling recording when moving to background
  • Previous by thread: AUGraph with own render thread
  • Next by thread: Re: AUGraph with own render thread
  • Index(es):
    • Date
    • Thread