Class: Voicemeeter::GainLayer
Instance Method Summary
collapse
Methods inherited from IRemote
#getter, #set_multi, #setter, #to_s
Boolean
Constructor Details
#initialize(remote, i, j) ⇒ GainLayer
Returns a new instance of GainLayer.
68
69
70
71
|
# File 'lib/voicemeeter/strip.rb', line 68
def initialize(remote, i, j)
super(remote, i)
@j = j
end
|
Instance Method Details
#gain ⇒ Object
77
78
79
|
# File 'lib/voicemeeter/strip.rb', line 77
def gain
self.getter("gainlayer[#{@j}]")
end
|
#gain=(value) ⇒ Object
81
82
83
|
# File 'lib/voicemeeter/strip.rb', line 81
def gain=(value)
self.setter("gainlayer[#{@j}]", value)
end
|
#identifier ⇒ Object
73
74
75
|
# File 'lib/voicemeeter/strip.rb', line 73
def identifier
"strip[#{@index}]"
end
|