• 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: best way to divert callbacks to main thread from audio thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:

http://atastypixel.com/blog/experiments-with-precise-timing-in-ios/ 


 _______________________________________________
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

References: 
 >best way to divert callbacks to main thread from audio thread (From: Rich E <email@hidden>)
 >Re: best way to divert callbacks to main thread from audio thread (From: Paul Davis <email@hidden>)
 >Re: best way to divert callbacks to main thread from audio thread (From: Kyle Sluder <email@hidden>)
 >Re: best way to divert callbacks to main thread from audio thread (From: Rich E <email@hidden>)

  • Prev by Date: With or without Garbage Collection for AU FX
  • Next by Date: USB Audio streaming start
  • Previous by thread: Re: best way to divert callbacks to main thread from audio thread
  • Next by thread: Re: best way to divert callbacks to main thread from audio thread
  • Index(es):
    • Date
    • Thread