module PlaceOS::Driver::Interface::AudioMuteable

Overview

Splitting up the interfaces allows logic modules to check if the device supports the required level of muting. Allowing to it to fallback to an intermediary device like a switcher if required. i.e. input -> switcher -> LCD (only supporting audio mute) a logic module can check if the output supports video muting and fall back to the mute function of the switcher

Direct including types

Defined in:

placeos-driver/interface/muteable.cr

Instance Method Summary

Instance Method Detail

abstract def mute_audio(state : Bool = true, index : Int32 | String = 0) #

[View source]
def unmute_audio(index : Int32 | String = 0) #

[View source]