nn::mic::CTR::SetAmp FunctionResult SetAmp( bool enable );
| Name | Description | |
|---|---|---|
| in | enable | If set to true, turns microphone power on. If set to false, turns microphone power off. |
| Value | Description |
|---|---|
ResultSuccess |
Process succeeded. |
Sets the ON/OFF setting for power to the microphone.
The microphone is forcibly muted when it is turned on or recovers from Sleep Mode because microphone input is unstable for the first second.
For the silence values for each sampling type, see nn::mic::CTR::SAMPLING_TYPE_8BIT_SILENT_DATA, nn::mic::CTR::SAMPLING_TYPE_16BIT_SILENT_DATA, nn::mic::CTR::SAMPLING_TYPE_SIGNED_8BIT_SILENT_DATA, and nn::mic::CTR::SAMPLING_TYPE_SIGNED_16BIT.
CONFIDENTIAL