Class: Voicemeeter::BusDevice

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) ⇒ BusDevice

Returns a new instance of BusDevice.



103
104
105
106
107
# File 'lib/voicemeeter/bus.rb', line 103

def initialize(remote, i)
  super
  self.make_reader_only :name, :sr
  self.make_writer_only :wdm, :ks, :mme, :asio
end

Instance Method Details

#identifierObject



109
110
111
# File 'lib/voicemeeter/bus.rb', line 109

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