class Crestron::VirtualSwitcher
- Crestron::VirtualSwitcher
- PlaceOS::Driver
- Reference
- Object
Included Modules
Defined in:
crestron/virtual_switcher.crConstant Summary
-
DUMMY_OUTPUT =
[] of Int32
Class Method Summary
Instance Method Summary
- #available_inputs
- #available_outputs
-
#mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
only support muting the outputs, no unmuting
- #on_update
-
#power(state : Bool)
dummy to supress errors in routing
- #receivers
- #switch(map : Hash(Input, Array(Output | Output)), layer : SwitchLayer | Nil = nil)
-
#switch_to(input : Input)
Switches all outputs to the requested input Special case
switch_to 0
should mute all the outputs, if supported - #transmitters
Class Method Detail
Instance Method Detail
def mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
#
only support muting the outputs, no unmuting
def switch(map : Hash(Input, Array(Output | Output)), layer : SwitchLayer | Nil = nil)
#
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