nn::mic::CTR::AdjustSampling Function

Syntax

Result AdjustSampling(
     SamplingRate rate
);

Arguments

Name Description
in rate Specifies the sampling rate.

Return Values

Returns the result of the operation.
LEVEL_SUCCESS:SUMMARY_SUCCESS:MODULE_COMMON:DESCRIPTION_SUCCESS ・・・Success.

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/01/07
Initial version.

CONFIDENTIAL