IUnknown
2008-09-25 09:06:21 UTC
In using DirectShow.net to access capabilities for an input device
(SigmaTel), I get values for sample rate: Min = 11025, Max = 44100,
Increment = 11025. There are multiple device caps pages, but all are
identical.
The device definitely supports a wider range of sample rates, like
16K, etc. So, what is the best way to determine those?
I've also tried to determine these by trial and error... Setting the
device to a standard rate, then reading the rate to verify.
Unfortunately, it looks like the device is accepting some very odd
values. For example, I tried 16001, 16002, and 16003. It accepted all
values, and reading the device confirmed the settings.
This must be documented somewhere, but I haven't turned up many clues
so far.
(SigmaTel), I get values for sample rate: Min = 11025, Max = 44100,
Increment = 11025. There are multiple device caps pages, but all are
identical.
The device definitely supports a wider range of sample rates, like
16K, etc. So, what is the best way to determine those?
I've also tried to determine these by trial and error... Setting the
device to a standard rate, then reading the rate to verify.
Unfortunately, it looks like the device is accepting some very odd
values. For example, I tried 16001, 16002, and 16003. It accepted all
values, and reading the device confirmed the settings.
This must be documented somewhere, but I haven't turned up many clues
so far.