Module: Voicemeeter::Mixin::Outputs

Includes:
Channel_Meta_Functions
Included in:
Recorder, Strip
Defined in:
lib/voicemeeter/mixin.rb

Instance Method Summary collapse

Methods included from Conversions

Boolean

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