Class: Voicemeeter::Patch::PatchInsert

Inherits:
Object
  • Object
show all
Includes:
IRemote
Defined in:
lib/voicemeeter/patch.rb

Instance Method Summary collapse

Methods included from IRemote

#apply, #initialize, #to_s

Methods included from Logging

#logger

Instance Method Details

#getObject



71
72
73
# File 'lib/voicemeeter/patch.rb', line 71

def get
  getter("insert[#{@index}]").to_i == 1
end

#set(val) ⇒ Object



75
76
77
# File 'lib/voicemeeter/patch.rb', line 75

def set(val)
  setter("insert[#{@index}]", val && 1 || 0)
end