• 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
Get hardware buffer size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get hardware buffer size


  • Subject: Get hardware buffer size
  • From: "Fee, Carson" <email@hidden>
  • Date: Thu, 05 May 2005 17:11:02 -0700

Should be a quick one to answer,

My AU constructor creates an instance of my dsp engine.

cfx3::cfx3(AudioUnit component)
    : AUEffectBase(component)
{
    CreateElements();
    Globals()->UseIndexedParameters(kNumberOfParameters);
    SetParameter(kParam_One, kDefaultValue_ParamOne );
    carsetest.DSpaceInit(512); //init the DSP engine
#if AU_DEBUG_DISPATCHER
    mDebugDispatcher = new AUDebugDispatcher (this);
#endif

}

I am passing the value 512 to set up my input buffer, this works when I know
that the hardware input buffer is set to 512, but what would be a simple way
to grab the default audio device buffer size??

AudioDeviceGetProperty seems to be out of scope.

C.

 _______________________________________________
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: Get hardware buffer size
      • From: Chris Rogers <email@hidden>
  • Prev by Date: Re: How to use this AudioFile info thing?
  • Next by Date: Re: How to use this AudioFile info thing?
  • Previous by thread: Re: Latency terminology and computation
  • Next by thread: Re: Get hardware buffer size
  • Index(es):
    • Date
    • Thread