nn::mic::CTR::AdjustSampling Function

Syntax

Result AdjustSampling(
     SamplingRate rate
);

Parameters

Name Description
in rate Specifies the sampling frequency.

Return Values

Returns the result of the operation.
Value Description
Result::IsSuccess Process succeeded.
ResultShellClose Cannot start sampling because the system is closed.

Description

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.

Revision History

2010/12/18
Revised the description of the return values.
2010/01/07
Initial version.

CONFIDENTIAL