• 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: Trouble recording using the AUHAL unit.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble recording using the AUHAL unit.


  • Subject: Re: Trouble recording using the AUHAL unit.
  • From: Alexander Bollbach <email@hidden>
  • Date: Mon, 11 Jan 2016 18:07:56 +0000

but essentially, the ring buffer functions as a method of temporarily holding the audio samples in memory from the rendering function in the realtime thread and than quickly reading those samples for some other purpose elsewhere?  using the timestamp to coordinate what exactly?  and wouldn't the ring buffer eat its tail eventually if the realtime callback was dumping sample data into the ring buffer faster than i could write it to disk?  I'm sorry but i find this just a bit difficult to negotiate in my head.

On Mon, Jan 11, 2016 at 12:43 PM Paul Davis <email@hidden> wrote:
On Mon, Jan 11, 2016 at 12:15 PM, Alexander Bollbach <email@hidden> wrote:
thinking a little more,  given that i'm recording an arbitrarily long amount of audio, preallocating a buffer will not be possible, right?  Is that where a circular buffer comes in?  would I use the much used CARingBuffer?  If so, could I get some intuition about the timestamps.  I've followed chapter 8 of Chris Adamson's Learning Core Audio book and I sort of have a sense for using a RingBuffer but i'm not entirely clear on the concept of the timestamps you pass into it.

Yes you need a ringbuffer.

I can't comment further because my audio software is cross-platform so I'm not familiar with the infrastructure offered by OS X or 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

  • Follow-Ups:
    • Re: Trouble recording using the AUHAL unit.
      • From: Ross Bencina <email@hidden>
    • Re: Trouble recording using the AUHAL unit.
      • From: "Dave O'Neill" <email@hidden>
References: 
 >Trouble recording using the AUHAL unit. (From: Alexander Bollbach <email@hidden>)
 >Re: Trouble recording using the AUHAL unit. (From: Paul Davis <email@hidden>)
 >Re: Trouble recording using the AUHAL unit. (From: Alexander Bollbach <email@hidden>)
 >Re: Trouble recording using the AUHAL unit. (From: Alexander Bollbach <email@hidden>)
 >Re: Trouble recording using the AUHAL unit. (From: Paul Davis <email@hidden>)

  • Prev by Date: Re: Trouble recording using the AUHAL unit.
  • Next by Date: Re: AUMIDISynth program change messages not working?
  • Previous by thread: Re: Trouble recording using the AUHAL unit.
  • Next by thread: Re: Trouble recording using the AUHAL unit.
  • Index(es):
    • Date
    • Thread