Class: Voicemeeter::Strip::GainLayer
- Inherits:
-
Object
- Object
- Voicemeeter::Strip::GainLayer
- Includes:
- IRemote
- Defined in:
- lib/voicemeeter/strip.rb
Instance Method Summary collapse
- #gain ⇒ Object
- #gain=(value) ⇒ Object
- #identifier ⇒ Object
-
#initialize(remote, i, j) ⇒ GainLayer
constructor
A new instance of GainLayer.
Methods included from IRemote
Methods included from Logging
Constructor Details
#initialize(remote, i, j) ⇒ GainLayer
Returns a new instance of GainLayer.
181 182 183 184 |
# File 'lib/voicemeeter/strip.rb', line 181 def initialize(remote, i, j) super(remote, i) @j = j end |
Instance Method Details
#gain ⇒ Object
190 191 192 |
# File 'lib/voicemeeter/strip.rb', line 190 def gain getter("gainlayer[#{@j}]") end |
#gain=(value) ⇒ Object
194 195 196 |
# File 'lib/voicemeeter/strip.rb', line 194 def gain=(value) setter("gainlayer[#{@j}]", value) end |
#identifier ⇒ Object
186 187 188 |
# File 'lib/voicemeeter/strip.rb', line 186 def identifier "strip[#{@index}]" end |