# disableAudio()

Disables (turns off) user's microphone.

```javascript
sambaFrame.disableAudio();
```

**Sample use cases**:&#x20;

* Have a custom toolbar in your integration and want user to control microphone from it.
* You may want to mute the user based on your application needs.

{% hint style="info" %}
The related event is [audioDisabled](https://docs.digitalsamba.com/reference/sdk/events/audiodisabled), if you want to be informed when user disables microphone.
{% endhint %}
