Class: Voicemeeter::Patch::PatchAsioOut

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

Instance Method Summary collapse

Methods inherited from PatchAsio

#identifier

Methods included from IRemote

#apply, #to_s

Methods included from Logging

#logger

Constructor Details

#initialize(remote, i, param) ⇒ PatchAsioOut

Returns a new instance of PatchAsioOut.



42
43
44
45
# File 'lib/voicemeeter/patch.rb', line 42

def initialize(remote, i, param)
  super(remote, i)
  @param = param
end

Instance Method Details

#getObject



47
48
49
# File 'lib/voicemeeter/patch.rb', line 47

def get
  getter("out#{@param}[#{@index}]").to_i
end

#set(val) ⇒ Object



51
52
53
# File 'lib/voicemeeter/patch.rb', line 51

def set(val)
  setter("out#{@param}[#{@index}]", val)
end