nn::mic::CTR::AdjustSampling FunctionResult AdjustSampling( SamplingRate rate );
| Name | Description | |
|---|---|---|
| in | rate | Specifies the sampling frequency. |
| Value | Description |
|---|---|
ResultSuccess |
Process succeeded. |
ResultShellClose |
Cannot start sampling because the system is closed. |
Changes the sampling rate for microphone auto-sampling.
If microphone auto-sampling has already been started, this function stops the active sampling session and starts a new one. Likewise, if the microphone is currently stopped, this function starts a new session.
Sampling uses the offset and size values that were set in the StartSampling function. If sampling is already under way, sampling restarts from the position currently being written.
CONFIDENTIAL