class Crestron::VirtualSwitcher

Included Modules

Defined in:

crestron/virtual_switcher.cr

Constant Summary

DUMMY_OUTPUT = [] of Int32

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def available_inputs #

[View source]
def available_outputs #

[View source]
def mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo) #

only support muting the outputs, no unmuting


[View source]
def on_load #

[View source]
def on_update #

[View source]
def power(state : Bool) #

dummy to supress errors in routing


[View source]
def receivers #

[View source]
def switch(map : Hash(Input, Array(Output | Output)), layer : SwitchLayer | Nil = nil) #

[View source]
def switch_to(input : Input) #
Description copied from module PlaceOS::Driver::Interface::InputSelection(String)

Switches all outputs to the requested input Special case switch_to 0 should mute all the outputs, if supported


[View source]
def transmitters #

[View source]