voicemeeter 1.1.0 → 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: e3b54899e83b3462fbe37aeaf0650998d5071de096e10ffbab7175fe72ae8d7a
4
- data.tar.gz: 6383c43139954ff774b74b8d1566c233ae4939021b99071422473765295d0c62
3
+ metadata.gz: 97353f55d4fde0e0d64a6d57374659eb8df4b6fe91b6ac01c76c0b5c86a00fbd
4
+ data.tar.gz: 0a142bf084c2ed63154962b4fc13e157d8fda350e1d347cac3b4b5431e7c43d4
5
5
  SHA512:
6
- metadata.gz: 886a45d632d42562b743123c5f19b7127d7655aa49b708cb2f0aa748db8fea6367f78f9c5719b7c11a8a0acb9ddaea2b4d94442720897d536cb305c3fb1c03f9
7
- data.tar.gz: '08de65bd94561a463f457eeefee2badf434b3720a5121f8123e6c709c9c60cab10a8ac75deca54f307bdd428c0d9f528b4abdf80b83b5793309d42a824ad26e3'
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: Kinds::KindEnum::BASIC,
69
- banana: 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."
@@ -6,6 +6,8 @@ module Voicemeeter
6
6
  BASIC = 1
7
7
  BANANA = 2
8
8
  POTATO = 3
9
+ BASICX64 = 4
10
+ BANANAX64 = 5
9
11
  POTATOX64 = 6
10
12
  end
11
13
 
@@ -11,7 +11,7 @@ module Voicemeeter
11
11
  end
12
12
 
13
13
  def patch
14
- 0
14
+ 2
15
15
  end
16
16
 
17
17
  def to_a
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voicemeeter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - onyx_online
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-28 00:00:00.000000000 Z
11
+ date: 2024-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi