From 319300ba83d066ed03b12d01920e8280b97658e2 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sun, 9 Jul 2023 05:50:39 +0100 Subject: [PATCH] instream,outstream reader methods. --- lib/voicemeeter/vban.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/voicemeeter/vban.rb b/lib/voicemeeter/vban.rb index 346e4f6..6c6f722 100644 --- a/lib/voicemeeter/vban.rb +++ b/lib/voicemeeter/vban.rb @@ -8,8 +8,6 @@ module Voicemeeter " A class representing a VBAN stream " - include Meta_Functions - def initialize(remote, i) super make_accessor_bool :on @@ -55,7 +53,7 @@ module Voicemeeter end class Vban - attr_accessor :instream, :outstream + attr_reader :instream, :outstream def initialize(remote) " @@ -75,12 +73,12 @@ module Voicemeeter #stree-ignore def enable @remote.set("vban.enable", 1) - end + end #stree-ignore def disable @remote.set("vban.enable", 0) - end + end end end end