From 7825b58bb17df68a373526d6467794c543785c5d Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 14 Sep 2023 18:22:13 +0100 Subject: [PATCH] add BusDevice to Bus class. CHANGELOG updated. --- CHANGELOG.md | 6 ++++++ lib/voicemeeter/bus.rb | 3 ++- lib/voicemeeter/version.rb | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0517dd1..7d16805 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ Before any major/minor/patch is released all unit tests will be run to verify th - [ ] +## [1.0.1] - 2023-09-14 + +### Added + +- BusDevice added to Bus class. + ## [1.0.0] - 2023-09-01 ### Added diff --git a/lib/voicemeeter/bus.rb b/lib/voicemeeter/bus.rb index b0fa9a6..b0c8998 100644 --- a/lib/voicemeeter/bus.rb +++ b/lib/voicemeeter/bus.rb @@ -7,7 +7,7 @@ module Voicemeeter include Mixins::Return extend MetaFunctions - attr_reader :eq, :mode, :levels + attr_reader :eq, :mode, :levels, :device attr_accessor_bool :mute, :mono, :sel, :monitor attr_accessor_float :gain attr_accessor_string :label @@ -21,6 +21,7 @@ module Voicemeeter @eq = BusEq.new(remote, i) @mode = BusModes.new(remote, i) @levels = BusLevels.new(remote, i) + @device = BusDevice.new(remote, i) end def identifier diff --git a/lib/voicemeeter/version.rb b/lib/voicemeeter/version.rb index 6c494ce..e3fae01 100644 --- a/lib/voicemeeter/version.rb +++ b/lib/voicemeeter/version.rb @@ -11,7 +11,7 @@ module Voicemeeter end def patch - 0 + 1 end def to_a