enableANS method

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

Enables or disables Automatic Noise Suppression (ANS).

ANS reduces background noise in the audio signal, improving voice clarity in noisy environments.

Parameters:

  • enable: Whether to enable ANS (default: false)

Returns 0 on success, negative error code on failure.

Implementation

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