# Sound options

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

By default, Zoom uses noise suppression and echo cancellation to improve the quality of the audio received by your microphone, but these audio filters can interfere with situations that require capturing the full range of audio. See [Configuring professional audio settings for Zoom Meetings](https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0059985) for details.

Video SDK uses the same technology to improve audio quality, but also supports the ability to turn off these filters to capture the **original sound** of the microphone, for example, to support the use of a high-quality microphone with built-in audio filters or to capture the full audio range without noise suppression. _**Capturing the microphone's original sound disables the background noise suppression feature.**_

## Original sound

To enable original sound, set `enableMicOriginalInput` to `true` (`YES`) in the `ZoomVideoSDKAudioSettingHelper` class. The default setting is `false` (`NO`). Read the current state with `isMicOriginalInputEnable`.

```swift
let audioSettingHelper = ZoomVideoSDK.shareInstance()?.getAudioSettingHelper()
audioSettingHelper?.enableMicOriginalInput(true)
```

```objectivec
ZoomVideoSDKAudioSettingHelper *audioSettingHelper = [[ZoomVideoSDK shareInstance] getAudioSettingHelper];
[audioSettingHelper enableMicOriginalInput:YES];
```

To disable, set `enableMicOriginalInput` to `false` (`NO`).

```swift
audioSettingHelper?.enableMicOriginalInput(false)
```

```objectivec
[audioSettingHelper enableMicOriginalInput:NO];
```

## Auto-adjust microphone volume

By default, the SDK lets the OS manage microphone gain. Use `enableAutoAdjustMicVolume` on `ZoomVideoSDKAudioSettingHelper` to have the SDK adjust the mic gain automatically as the speaker moves closer to or further from the device. Read the current state with `isAutoAdjustMicVolumeEnabled`.

```swift
let audioSettingHelper = ZoomVideoSDK.shareInstance()?.getAudioSettingHelper()

// Enable auto-adjust mic gain.
audioSettingHelper?.enableAutoAdjustMicVolume(true)

// Check whether auto-adjust is currently on.
let isOn = audioSettingHelper?.isAutoAdjustMicVolumeEnabled()
```

```objectivec
ZoomVideoSDKAudioSettingHelper *audioSettingHelper = [[ZoomVideoSDK shareInstance] getAudioSettingHelper];

// Enable auto-adjust mic gain.
[audioSettingHelper enableAutoAdjustMicVolume:YES];

// Check whether auto-adjust is currently on.
BOOL isOn = [audioSettingHelper isAutoAdjustMicVolumeEnabled];
```

Auto-adjust is incompatible with original sound. Original sound disables the SDK's processing, including automatic gain control. Pick one based on your use case.
