Is it possible to specify sampling rate of audio capture



Hello,
I am new to DirectSound, I need to capture audio from microphone (and
others perhaps in future). I found it is possible to do 2 ways -
directsound and wavein API.

When I saw the device properties in Control Panel it gave me 3 options
for sampling rate:
44.1, 48, 96 Khz. I need to capture at 16 Khz because that is what my
receiver is expecting.
Is it possible to specify the sampling rate in Directsound (and
waveIn)? If so how?

Also is it possible to enumerate the audio capture devices with waveIn
like Directsound does?
Thank you.
.



Relevant Pages


Loading