Class: Voicemeeter::VbanStream
- Includes:
- Vban_Meta_Functions
- Defined in:
- lib/voicemeeter/vban.rb
Direct Known Subclasses
Instance Method Summary collapse
- #direction ⇒ Object
- #identifier ⇒ Object
-
#initialize(remote, i) ⇒ VbanStream
constructor
A new instance of VbanStream.
Methods included from Conversions
Methods inherited from IRemote
#getter, #set_multi, #setter, #to_s
Constructor Details
#initialize(remote, i) ⇒ VbanStream
Returns a new instance of VbanStream.
12 13 14 15 16 17 |
# File 'lib/voicemeeter/vban.rb', line 12 def initialize(remote, i) super self.make_accessor_bool :on self.make_accessor_string :name, :ip self.make_accessor_int :quality, :route end |
Instance Method Details
#direction ⇒ Object
23 24 25 |
# File 'lib/voicemeeter/vban.rb', line 23 def direction raise "Called abstract mehod: direction" end |
#identifier ⇒ Object
19 20 21 |
# File 'lib/voicemeeter/vban.rb', line 19 def identifier "vban.#{self.direction}stream[#{@index}]" end |