• 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
Setting buffer size / latency of DefaultOutputUnit ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting buffer size / latency of DefaultOutputUnit ?


  • Subject: Setting buffer size / latency of DefaultOutputUnit ?
  • From: Mattiello Joseph <email@hidden>
  • Date: Thu, 5 Aug 2010 02:39:51 -0400

I'm working on an application that sends decoded PCM audio to the DefaultOutputAudioUnit. It's written in C# using Mono and I've wrapped the important parts of CoreAudio.
There is a problem in that the output unit polls for data in very small pieces and expects them very quickly. Whenever the system is under stress such as when the garbage collector is running we can't guarantee that we can return from our rendering callback in the several ms required before a gap in playback occurs. In our Linux/Windows implementations this isn't a problem because we can specify a larger latency/buffer size giving us much more execution time per callback.

The basic question is, is it possible to increase the requesting buffer size (at the course of latency of course) of the DefaultOuputAudioUnit ?

Thanks for your time.
-Joe



 _______________________________________________
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: Setting buffer size / latency of DefaultOutputUnit ?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: CAF files
  • Next by Date: audiotimestamp
  • Previous by thread: Re: Number of channels in a mixer vs performance
  • Next by thread: Re: Setting buffer size / latency of DefaultOutputUnit ?
  • Index(es):
    • Date
    • Thread