• 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: Herbie Robinson <email@hidden>
  • Date: Sat, 6 Jul 2002 19:32:12 -0400

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)?

The reason I ask it that most of the hardware I've used doesn't really know (or care) what sampling rate it is running at when it is locked to an external sync source and/or a digital input stream. This is, BTW, a very common user error (setting the sync source for a different sample rate than the software thinks it's getting): It would be cool if applications provided some sort of warning status if there was discrepancy.
--
-*****************************************
** http://www.curbside-recording.com/ **
******************************************
_______________________________________________
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.
  • Follow-Ups:
    • Re: Clock Sources
      • From: Jeff Moore <email@hidden>
References: 
 >Re: Clock Sources (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: Recording to file
  • Next by Date: Re: AudioUnit edit windows?
  • Previous by thread: Re: Clock Sources
  • Next by thread: Re: Clock Sources
  • Index(es):
    • Date
    • Thread