enableAGC method

Future<int> enableAGC({
  1. required bool enable,
})

Enables or disables Automatic Gain Control (AGC).

AGC automatically adjusts the microphone volume to maintain consistent audio levels, ensuring the speaker's voice is at an appropriate volume regardless of their distance from the microphone.

Parameters:

  • enable: Whether to enable AGC (default: true)

Returns 0 on success, negative error code on failure.

Implementation

Future<int> enableAGC({required bool enable}) async {
  throw UnimplementedError('enableAGC has not been implemented.');
}