• 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
Sample Rate Support and Core Audio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sample Rate Support and Core Audio


  • Subject: Sample Rate Support and Core Audio
  • From: "Jeremy@Verizon" <email@hidden>
  • Date: Mon, 22 Apr 2002 14:53:07 -0400

What is the recommended way to inquire about sample rates that an audio
device supports?

I've been using

err = AudioDeviceGetPropertyInfo(theID , 0, true,
kAudioDevicePropertyStreamFormats, &outputSize, &isWriteable);
if (err == noErr)
{
AudioStreamBasicDescription * asbdp = nil;
asbdp = (AudioStreamBasicDescription *) NewPtr(outputSize);
if (asbdp)
{
err = AudioDeviceGetProperty(theID , 0 , //master Channel
true, kAudioDevicePropertyStreamFormats, &outputSize,
asbdp);

But at least on the MIDIMan 2496 card I am testing I cannot get it to report
96k. Any suggestions?

Jeremy
_______________________________________________
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: Sample Rate Support and Core Audio
      • From: Jeff Moore <email@hidden>
References: 
 >Re: music sequence/music device (From: Bill Stewart <email@hidden>)

  • Prev by Date: Re: Lock-free protocols? Making circular buffers.
  • Next by Date: Re: Sample Rate Support and Core Audio
  • Previous by thread: Re: music sequence/music device
  • Next by thread: Re: Sample Rate Support and Core Audio
  • Index(es):
    • Date
    • Thread