Re: AudioStreamBasicDescription inconcistencies
Re: AudioStreamBasicDescription inconcistencies
- Subject: Re: AudioStreamBasicDescription inconcistencies
- From: Jeff Moore <email@hidden>
- Date: Wed, 16 Jul 2003 11:54:32 -0700
kAudioStreamAnyRate = 0
// the format can use any sample rate (usually because it does
// its own rate conversion). Note that this constant can only
// appear in listings of supported descriptions. It should never
// appear in the current description as a device must always
// have a "current" nominal sample rate.
For the HAL, this means that you have to use the
kAudioDevicePropertyAvailableNominalSampleRates to find out what range
of rates are available.
On Tuesday, July 15, 2003, at 8:07 PM, Tommy Braas wrote:
Hi,
I am currently working on an audio sampling piece of software, and I
am having some problems regarding a specific device. Since I suspect
this is not the only device behaving in this fashion, I am seeking
your advice.
Here's the problem;
The Griffin PowerWave reports the following physical formats for input;
0Hz, mono, 8 bits
0Hz, mono, 16 bits
0Hz, stereo, 16 bits
As you can see, there is no sample rate specified for these three
formats.
The formats queried from the device is used to populate a menu. I want
to be able to present the formats to the end user, but a format that
specifies a 0Hz sample rate doesn't make sense.
How would you suggest I handle situation is handled?
Any suggestions are greatly appreciated!
Thanks,
Tommy Braas
_______________________________________________
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.