• 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: Clock Sources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clock Sources


  • Subject: Re: Clock Sources
  • From: Jeff Moore <email@hidden>
  • Date: Sat, 6 Jul 2002 18:21:42 -0700

On Saturday, July 6, 2002, at 04:32 PM, Herbie Robinson wrote:


And if yes, how can an application find out what the current sample rate
is (in case of an external source).

In Jaguar, the new property kAudioDevicePropertyActualSampleRate returns this information.

Is this sampling rate guaranteed to be the rate the data is moving at (computed by counting samples against the host clock)?
[ if so, does the HAL compute this based on the arrival of samples to/from the driver? How much smoothing is done?]

Or is this the sampling rate the hardware has been told it is running at (either from user configuration or from sub-code data in the digital stream)?

This number is derived from the time stamps the driver provides the HAL.

--

Jeff Moore
Core Audio
Apple
_______________________________________________
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.

References: 
 >Re: Clock Sources (From: Herbie Robinson <email@hidden>)

  • Prev by Date: OMS and USB MIDI
  • Next by Date: Re: Loginwindow crash on usb audio device plug/unplug
  • Previous by thread: Re: Clock Sources
  • Next by thread: OMS and USB MIDI
  • Index(es):
    • Date
    • Thread