Class: Voicemeeter::Strip::GainLayer

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

Instance Method Summary collapse

Methods included from IRemote

#apply, #to_s

Methods included from Logging

#logger

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

#gainObject



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

#identifierObject



186
187
188
# File 'lib/voicemeeter/strip.rb', line 186

def identifier
  "strip[#{@index}]"
end