Class: Voicemeeter::Patch::PatchAsioOut
- Defined in:
- lib/voicemeeter/patch.rb
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(remote, i, param) ⇒ PatchAsioOut
constructor
A new instance of PatchAsioOut.
- #set(val) ⇒ Object
Methods inherited from PatchAsio
Methods included from IRemote
Methods included from Logging
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
#get ⇒ Object
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 |