• 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
determining buffer size after setting sample rate.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

determining buffer size after setting sample rate.


  • Subject: determining buffer size after setting sample rate.
  • From: "Daniel Walton" <email@hidden>
  • Date: Thu, 20 Feb 2003 11:44:30 -0800

I understand that the number of frames that an AUCallback asks for will change
as you change the sample rate of a default audio output unit. Is there a way
to determine what this number will be before the callback?

I have tried setting the sample rate with AudioUnitSetProperty using the
kAudioUnitProperty_StreamFormat flag, I then ask for the
kAudioDevicePropertyBufferFrameSize using the deviceID. However this simply
gives me the buffer size of the hardware device.

dan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Rationale of AudioTimeStamp
  • Next by Date: Re: AU diagnostics?
  • Previous by thread: Re: mCarbonPane and mBottomRight
  • Next by thread: Vestigial AU window in Logic Audio 6
  • Index(es):
    • Date
    • Thread