mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-15 23:00:48 +00:00
instream,outstream reader methods.
This commit is contained in:
parent
84761ef997
commit
319300ba83
@ -8,8 +8,6 @@ module Voicemeeter
|
|||||||
"
|
"
|
||||||
A class representing a VBAN stream
|
A class representing a VBAN stream
|
||||||
"
|
"
|
||||||
include Meta_Functions
|
|
||||||
|
|
||||||
def initialize(remote, i)
|
def initialize(remote, i)
|
||||||
super
|
super
|
||||||
make_accessor_bool :on
|
make_accessor_bool :on
|
||||||
@ -55,7 +53,7 @@ module Voicemeeter
|
|||||||
end
|
end
|
||||||
|
|
||||||
class Vban
|
class Vban
|
||||||
attr_accessor :instream, :outstream
|
attr_reader :instream, :outstream
|
||||||
|
|
||||||
def initialize(remote)
|
def initialize(remote)
|
||||||
"
|
"
|
||||||
@ -75,12 +73,12 @@ module Voicemeeter
|
|||||||
#stree-ignore
|
#stree-ignore
|
||||||
def enable
|
def enable
|
||||||
@remote.set("vban.enable", 1)
|
@remote.set("vban.enable", 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
#stree-ignore
|
#stree-ignore
|
||||||
def disable
|
def disable
|
||||||
@remote.set("vban.enable", 0)
|
@remote.set("vban.enable", 0)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user