Re: Some basic Audio device questions
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.