---
title: "isDeviceMuted(_:)"
framework: mediadevice
role: symbol
role_heading: Instance Method
path: "mediadevice/mediadeviceextension/isdevicemuted(_:)"
---

# isDeviceMuted(_:)

Gets the current mute state for the specified device.

## Declaration

```swift
@MainActor func isDeviceMuted(_ device: MediaOutputDevice) -> Bool
```

## Parameters

- `device`: The device for which to check the mute state.

## Return Value

Return Value true if the device is muted, false otherwise.

## Discussion

Discussion Called when a device reports true for canMute. Grouping For a group of devices, all devices in the group must report true for canMute.
