nn::mic::CTR::SetAmpGain Function

Syntax

Result SetAmpGain(
     u8 gain
);

Arguments

Name Description
in gain Sets the microphone amp's gain. Specify a value in the range 0-119 (10.5-70.0 dB).

Return Values

Returns the result of the operation.
Value Description
ResultSuccess Process succeeded.

Description

Sets the microphone amp's gain.

The microphone amp gain initial value is set to nn::mic::CTR::AMP_GAIN_DEFAULT_VALUE.

Revision History

2010/12/18
Revised the description of the return values.
2010/07/15
Added description of initial value.
2010/01/07
Initial version.

CONFIDENTIAL