class Place::Demo::Display

Included Modules

Defined in:

place/demo/display.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

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

There seems to only be audio mute available


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

[View source]
def power?(**options) #

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

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


[View source]
def test_setting(key : String, payload : JSON::Any) #

[View source]
def volume(level : Int32 | Float64) #

[View source]
def volume? : Float64 #

[View source]