# Audio

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

Session hosts can manage their own audio as well as the audio of other users in the session. This section describes how to manage audio.

## Check if the user is connected to audio

Before implementing audio controls, you must first check if the user is connected to audio by getting the user's `ZoomVideoSDKAudioType`;

```dart
user.audioStatus.isMuted(); // Check if the user is muted
user.audioStatus.isTalking(); // Check if the user is talking
user.audioStatus.getAudioType(); // Check if the user is connected
```

## Connect user to audio

If the user is not connected, connect to audio using the `ZoomVideoSDKAudioHelper`:

```dart
zoom.audioHelper.startAudio();
```

## Mute and unmute audio

Once connected, you can mute and unmute a user's audio by calling the `muteAudio` and `unmuteAudio` methods.

```dart
zoom.audioHelper.muteAudio(user.userId);
zoom.audioHelper.unmuteAudio(user.userId);
```

## Disconnect from audio

To disconnect completely from audio, use `stopAudio`:

```dart
zoom.audioHelper.stopAudio();
```

## Sound options

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`](https://marketplacefront.zoom.us/sdk/custom/flutter/native_zoom_videosdk_audio_setting_helper/ZoomVideoSdkAudioSettingHelper/enableMicOriginalInput.html) to `true` in the `ZoomVideoSdkAudioSettingHelper` class. The default setting is `false`.

```dart
var zoom = ZoomVideoSdk();
await zoom.audioSettingHelper.enableMicOriginalInput(true);
```

To disable, set `enableMicOriginalInput` to `false`.

```dart
await zoom.audioSettingHelper.enableMicOriginalInput(false);
```
