> For the complete documentation index, see [llms.txt](https://docs.digitalsamba.com/reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalsamba.com/reference/sdk/methods/disableaudio.md).

# 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](/reference/sdk/events/audiodisabled.md), if you want to be informed when user disables microphone.
{% endhint %}
