Location:
SoundDevice.h
TMMFSampleRate
Sampling rates available.
When queried from DevSound by calling the function Capabilities(), iRate indicates the sampling rates supported by the audio device.
DevSound by default is configured to 8KHz sampling rate. So to configure DevSound to play/record audio at 16 KHz sampling rate:
The mode should not be OR'ed with each other. If they are, then highest sampling rate takes precedence and DevSound will be configured to it.
|