setMuted

abstract fun setMuted(muted: Boolean)

Mutes or unmutes without losing the previous volume.