• 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: How to set buffer size for Audio Output Unit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set buffer size for Audio Output Unit?


  • Subject: Re: How to set buffer size for Audio Output Unit?
  • From: Christof Faller <email@hidden>
  • Date: Fri, 31 Aug 2001 15:44:58 -0400

Doug,

One thing you can do now is ask the output unit for the underlying AudioDevice it is talking to, and change its buffer size via the lower-level API:

Thanks, it works! I increased the AudioOutputUnit buffer size by increasing the
device buffer size. Now I have enough time within AudioUnitCallback to do
my processing.

An interesting (however obvious) observation which I made:

For a given output device I can set the buffer size. If SRA/SRD*BS is not
an integer, then the AudioOutputUnit will be called with buffer sizes
varying +-1 (SRA = sample rate audio unit, SRD sample rate device,
BS = device buffer size).

Thanks!
Chris


  • Follow-Ups:
    • Re: How to set buffer size for Audio Output Unit?
      • From: Doug Wyatt <email@hidden>
References: 
 >Re: How to set buffer size for Audio Output Unit? (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: How to set buffer size for Audio Output Unit?
  • Next by Date: Re: How to set buffer size for Audio Output Unit?
  • Previous by thread: Re: How to set buffer size for Audio Output Unit?
  • Next by thread: Re: How to set buffer size for Audio Output Unit?
  • Index(es):
    • Date
    • Thread