• 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: Some basic Audio device questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some basic Audio device questions


  • Subject: Re: Some basic Audio device questions
  • From: Jeff Moore <email@hidden>
  • Date: Tue, 11 May 2004 11:34:39 -0700

In HALLab (AMS does this or something very much like it too, I think), we use a combo box for the sample rate. The menu for the combo box is populated with the minimum rate, the maximum rate and all the commonly used rates that fall in between. The HALLab code can be found in the combo box handlers in the file, /Developer/Examples/CoreAudio/HAL/HALLab/ SourceHLDeviceWindowInfoController.mm.

On May 11, 2004, at 7:56 AM, Robert Grant wrote:

I'm using the wonderful MTCoreAudio framework to access the properties of the various audio devices connected to my computer and I've got some questions about how to interpret the responses.

When I list the nominalSampleRates I get an array of arrays where each subarray lists the low and high of a range of sample rates. What's the best way to turn that into into a menu of available sample rates?

When I get the minimum and maximum buffer frames I get "14" and "4608" respectively.
I expected the minimum to be 64?

Thanks,

Robert.
_______________________________________________
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.



--

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: 
 >Some basic Audio device questions (From: Robert Grant <email@hidden>)

  • Prev by Date: Re: cocoa ui
  • Next by Date: Re: Some basic Audio device questions
  • Previous by thread: Re: Some basic Audio device questions
  • Next by thread: Getting the spacial position of speakers?
  • Index(es):
    • Date
    • Thread