<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaDevice",
  "identifier" : "/documentation/MediaDevice/MediaDeviceExtension/muteDevice(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Media Device"
    ],
    "preciseIdentifier" : "s:11MediaDevice0aB9ExtensionP04muteB0yyAA0a6OutputB0VF"
  },
  "title" : "muteDevice(_:)"
}
-->

# muteDevice(_:)

Mutes the audio output for the specified device.

```
@MainActor func muteDevice(_ device: MediaOutputDevice)
```

## Parameters

`device`

The device to mute.

## Discussion

Called when a device reports `true` for [`canMute`](/documentation/MediaDevice/MediaOutputDevice/canMute).

## Grouping

For a group of devices, individual device volume mute should influence the group mute.
For a group of devices, all devices in the group must report `true` for [`canMute`](/documentation/MediaDevice/MediaOutputDevice/canMute).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)