Re: best way to divert callbacks to main thread from audio thread
Re: best way to divert callbacks to main thread from audio thread
- Subject: Re: best way to divert callbacks to main thread from audio thread
- From: Rich E <email@hidden>
- Date: Mon, 10 Oct 2011 20:41:58 +1100
.... And I can confirm that you can use mach in iOS apps... or at least I know one person did without apple complaining.
I also can't find any documentation saying either 'Mach is SPI' or 'SPI is off limits in iOS'.
Nonetheless, we decided to make a ring buffer in libpd's iOS wrapper, to avoid calling out from the audio thread. Thank you all for the input!
Cheers,
Rich
On Tue, Oct 4, 2011 at 4:22 AM, Rich E
<email@hidden> wrote:
On Tue, Oct 4, 2011 at 4:19 AM, Kyle Sluder
<email@hidden> wrote:
On Mon, Oct 3, 2011 at 7:42 AM, Paul Davis <
email@hidden> wrote:
> the fastest is to post a mach message to a mach port. since i know
> libpd is open source, i suggest you take a look at the jack sources if
> you want some examples on how to do this. its pretty easy.
Mach is SPI and inaccessible on iOS.
Hm, this guy wrote a blog on using it in his iOS audio looper:
_______________________________________________
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