voicemeeter 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4ac007a729dffb97e2f74d180dd7d1672f1b698c31a5cfa332956a282452236
4
- data.tar.gz: ed5d02defa9c2fb6232f508ee15d02dd91405377a9ad352c380d41e4ae246118
3
+ metadata.gz: 97353f55d4fde0e0d64a6d57374659eb8df4b6fe91b6ac01c76c0b5c86a00fbd
4
+ data.tar.gz: 0a142bf084c2ed63154962b4fc13e157d8fda350e1d347cac3b4b5431e7c43d4
5
5
  SHA512:
6
- metadata.gz: 38bcdca0ebb38f2210535f9fe99532e2b5dd62bf69b75da01a5d1f91a365889bf02b3484ddd10933db1555d3503a3e8926212df9db88a9a7705d93c1577eb879
7
- data.tar.gz: 16503461401e06116399723da291ce7f677d39ffd603f9a85e9893ccd036d1e8be6e800774fda730a845f73bb4fbab08104fc7c7d18750e275c8844785aceef0
6
+ metadata.gz: 5a475c2f575af0ec265b615dea7cde1eab2c113ad3a70040a46450e733378721e5e7c30ce9fcc5c83d379c9bac9531aa413780396370d2abf66a18944ab20b34
7
+ data.tar.gz: d6c0c8946009062fd9b124cb3904c8b8c4f8b15b6124bbc1588f0c405daa391debc55a4923abe322308e4a5c24788ec799f7a752420caa0ae5daf6b001278865
data/CHANGELOG.md CHANGED
@@ -11,6 +11,17 @@ Before any major/minor/patch is released all unit tests will be run to verify th
11
11
 
12
12
  - [ ]
13
13
 
14
+ ## [1.1.2] - 2024-06-29
15
+
16
+ ### Added
17
+
18
+ - kwarg `bits` for overriding the type of GUI that is launched on startup.
19
+ - Defaults to 64, set it to either 32 or 64
20
+
21
+ ### Fixed
22
+
23
+ - {Remote}.run_voicemeeter now launches x64 bit GUI's for all kinds if Ruby detects a 64 bit system.
24
+
14
25
  ## [1.1.0] - 2023-06-28
15
26
 
16
27
  ### Added
data/README.md CHANGED
@@ -723,6 +723,7 @@ You may pass the following optional keyword arguments:
723
723
  - `mdirty`: boolean=true, macrobutton updates
724
724
  - `midi`: boolean=true, midi updates
725
725
  - `ldirty`: boolean=false, level updates
726
+ - `bits`: int=64, (may be one of 32 or 64), overrides the type of Voicemeeter GUI {Remote}.run_voicemeeter will launch.
726
727
 
727
728
  Access to lower level Getters and Setters are provided with these functions:
728
729
 
@@ -19,6 +19,11 @@ module Voicemeeter
19
19
  @ratelimit = kwargs[:ratelimit] || RATELIMIT
20
20
  @delay = kwargs[:delay] || DELAY
21
21
  @login_timeout = kwargs[:login_timeout] || LOGIN_TIMEOUT
22
+ @bits = kwargs[:bits] || 64
23
+ if ![32, 64].include? @bits
24
+ logger.warn "kwarg bits got #{@bits}, expected either 32 or 64, defaulting to 64"
25
+ @bits = 64
26
+ end
22
27
  @event =
23
28
  Events::Tracker.new(
24
29
  **(kwargs.select { |k, _| %i[pdirty mdirty ldirty midi].include? k })
@@ -65,9 +70,12 @@ module Voicemeeter
65
70
 
66
71
  def run_voicemeeter(kind_id)
67
72
  kinds = {
68
- basic: (Install::OS_BITS == 64) ? Kinds::KindEnum::BASICX64 : Kinds::KindEnum::BASIC,
69
- banana: (Install::OS_BITS == 64) ? Kinds::KindEnum::BANANAX64 : Kinds::KindEnum::BANANA,
70
- potato: (Install::OS_BITS == 64) ? Kinds::KindEnum::POTATOX64 : Kinds::KindEnum::POTATO
73
+ basic: ([Install::OS_BITS, @bits].all? { |v| v == 64 }) ?
74
+ Kinds::KindEnum::BASICX64 : Kinds::KindEnum::BASIC,
75
+ banana: ([Install::OS_BITS, @bits].all? { |v| v == 64 }) ?
76
+ Kinds::KindEnum::BANANAX64 : Kinds::KindEnum::BANANA,
77
+ potato: ([Install::OS_BITS, @bits].all? { |v| v == 64 }) ?
78
+ Kinds::KindEnum::POTATOX64 : Kinds::KindEnum::POTATO
71
79
  }
72
80
  if caller(1..1).first[/`(.*)'/, 1] == "login"
73
81
  logger.debug "Voicemeeter engine running but the GUI appears to be down... launching."
@@ -11,7 +11,7 @@ module Voicemeeter
11
11
  end
12
12
 
13
13
  def patch
14
- 1
14
+ 2
15
15
  end
16
16
 
17
17
  def to_a
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voicemeeter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - onyx_online