• 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 15:49:18 -0700

On Friday, July 5, 2002, at 04:23 PM, Devendra Parakh wrote:

Is there a generic API to (determine and then)set the clock source
(mainly internal vs. external) on a sound card?

The HAL provides kAudioDevicePropertyClockSource and friends for this purpose.

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.

But, you probably will still want to send your data at the nominal rate indicated in the stream format properties, so kAudioDevicePropertyStreamFormat will provide the information.

--

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.

  • Follow-Ups:
    • Re: Clock Sources
      • From: Herbie Robinson <email@hidden>
  • Prev by Date: AudioUnit edit windows?
  • Next by Date: Re: Recording to file
  • Previous by thread: Re: AudioUnit edit windows?
  • Next by thread: Re: Clock Sources
  • Index(es):
    • Date
    • Thread