• 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: Sharing data from within a render callback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sharing data from within a render callback


  • Subject: Re: Sharing data from within a render callback
  • From: Paul Davis <email@hidden>
  • Date: Mon, 23 May 2011 10:14:46 -0400

On Mon, May 23, 2011 at 10:08 AM, Brennon Bortz
<email@hidden> wrote:
> Hello,
>
> I'm building an iOS/AudioUnit app doing some processing of incoming signals using a Remote I/O unit.  I have all of my processing in place, but now I'd like to be able to access current sample values from elsewhere in my application.  I'm wondering what the best practice is for making sample value data available from within my render callback to other interested objects.

copy them into one or more lock-free ringbuffers (FIFO's). lock-free
ringbuffers require a single writing thread and a single reading
thread. if you have more than 1 reading thread, you'll either need to
add a read-lock, or use multiple ringbuffers (1 per reader).
 _______________________________________________
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: Sharing data from within a render callback
      • From: Brennon Bortz <email@hidden>
References: 
 >A strange link warning (From: Tom Jeffries <email@hidden>)
 >Re: A strange link warning (From: tahome izwah <email@hidden>)
 >Sharing data from within a render callback (From: Brennon Bortz <email@hidden>)

  • Prev by Date: Sharing data from within a render callback
  • Next by Date: CoreMidi Example
  • Previous by thread: Sharing data from within a render callback
  • Next by thread: Re: Sharing data from within a render callback
  • Index(es):
    • Date
    • Thread