Class: Voicemeeter::BusModes

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

Instance Method Summary collapse

Methods included from Conversions

Boolean

Methods inherited from IRemote

#getter, #set_multi, #setter, #to_s

Constructor Details

#initialize(remote, i) ⇒ BusModes

Returns a new instance of BusModes.



52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/voicemeeter/bus.rb', line 52

def initialize(remote, i)
  super
  self.make_bus_modes :normal,
                      :amix,
                      :bmix,
                      :repeat,
                      :composite,
                      :tvmix,
                      :upmix21,
                      :upmix41,
                      :upmix61,
                      :centeronly,
                      :lfeonly,
                      :rearonly
end

Instance Method Details

#identifierObject



68
69
70
# File 'lib/voicemeeter/bus.rb', line 68

def identifier
  "bus[#{@index}].mode"
end