muteDevice(_:)
Mutes the audio output for the specified device.
Declaration
@MainActor func muteDevice(_ device: MediaOutputDevice)Parameters
- device:
The device to mute.
Discussion
Called when a device reports true for 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.