• 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: relationship between io buffer duration, # frames and audio buffer size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: relationship between io buffer duration, # frames and audio buffer size


  • Subject: Re: relationship between io buffer duration, # frames and audio buffer size
  • From: Joel Reymont <email@hidden>
  • Date: Wed, 11 Feb 2009 20:07:42 +0000

Hamish,

On Feb 11, 2009, at 8:01 PM, Hamish Allan wrote:

Follow these simple guidelines:
Get or Set "Preferred" properties when the audio session is not active.
Get "Current" properties once the audio session has been activated.


There was a discussion on this list before and it was determined that my approach is fine

http://lists.apple.com/archives/Coreaudio-api/2008/Nov/msg00277.html

Also, I figured out my samples issue 44100 * duration (0.005 or 0.003) gives me the # of samples. Then it's a matter of multiplying it by the appropriate number of bits per channel and channels per frame to get the buffer size.

---
http://tinyco.de
--- Mac & iPhone




_______________________________________________ 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: 
 >relationship between io buffer duration, # frames and audio buffer size (From: Joel Reymont <email@hidden>)
 >Re: relationship between io buffer duration, # frames and audio buffer size (From: Hamish Allan <email@hidden>)

  • Prev by Date: Re: c++
  • Next by Date: Re: linear pcm: 16 or 32 bits?
  • Previous by thread: Re: relationship between io buffer duration, # frames and audio buffer size
  • Next by thread: audio format flag value 3116 (lpcm)
  • Index(es):
    • Date
    • Thread