From a0d657468b94137352f8fb36b947e0a7270954a3 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Fri, 26 Jan 2024 17:34:00 +0000 Subject: [PATCH] fix bits check in run_voicemeeter() patch bump Issue #10 --- pyproject.toml | 2 +- voicemeeterlib/remote.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 06f9b9c..7fa7bd7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "voicemeeter-api" -version = "2.5.2" +version = "2.5.3" description = "A Python wrapper for the Voiceemeter API" authors = ["onyx-and-iris "] license = "MIT" diff --git a/voicemeeterlib/remote.py b/voicemeeterlib/remote.py index 498b2fb..5c0267b 100644 --- a/voicemeeterlib/remote.py +++ b/voicemeeterlib/remote.py @@ -80,7 +80,7 @@ class Remote(CBindings): def run_voicemeeter(self, kind_id: str) -> None: if kind_id not in (kind.name.lower() for kind in KindId): raise VMError(f"Unexpected Voicemeeter type: '{kind_id}'") - if kind_id == "potato" and bits == 8: + if kind_id == "potato" and bits == 64: value = KindId[kind_id.upper()].value + 3 else: value = KindId[kind_id.upper()].value