From eb4920f4a51d64e82460d72c2c9547bac85082a4 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 17 Jul 2023 08:41:03 +0100 Subject: [PATCH] POTATOX64 added to KindEnum --- lib/voicemeeter/base.rb | 2 +- lib/voicemeeter/kinds.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/voicemeeter/base.rb b/lib/voicemeeter/base.rb index cd4d9cf..3ef135e 100644 --- a/lib/voicemeeter/base.rb +++ b/lib/voicemeeter/base.rb @@ -77,7 +77,7 @@ module Voicemeeter kinds = { basic: Kinds::KindEnum::BASIC, banana: Kinds::KindEnum::BANANA, - potato: (Install::OS_BITS == 64) ? 6 : Kinds::KindEnum::POTATO + potato: (Install::OS_BITS == 64) ? Kinds::KindEnum::POTATOX64 : Kinds::KindEnum::POTATO } CBindings.call(:bind_run_voicemeeter, kinds[kind_id]) sleep(1) diff --git a/lib/voicemeeter/kinds.rb b/lib/voicemeeter/kinds.rb index d7d9c2c..d0a3044 100644 --- a/lib/voicemeeter/kinds.rb +++ b/lib/voicemeeter/kinds.rb @@ -35,6 +35,7 @@ module Voicemeeter BASIC = 1 BANANA = 2 POTATO = 3 + POTATOX64 = 6 end public