Re: AUGraph with own render thread
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