Module: Voicemeeter::Mixin::Outputs
Instance Method Summary collapse
Methods included from Conversions
Instance Method Details
#initialize(*args) ⇒ Object
28 29 30 31 32 33 34 35 36 37 |
# File 'lib/voicemeeter/mixin.rb', line 28 def initialize(*args) super remote, *rem = args num_A, num_B = remote.kind.layout[:bus].values channels = (1..(num_A + num_B)).map do |i| i <= num_A ? "A#{i}" : "B#{i - num_A}" end self.make_accessor_bool *channels end |