diff --git a/pyproject.toml b/pyproject.toml index e5b170a..988082c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "voicemeeter-api" -version = "2.3.5" +version = "2.3.6" 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 15425f5..a9379ed 100644 --- a/voicemeeterlib/remote.py +++ b/voicemeeterlib/remote.py @@ -216,7 +216,7 @@ class Remote(CBindings): """Retrieves number of physical devices connected""" if direction not in ("in", "out"): raise VMError("Expected a direction: in or out") - func = getattr(self, f"vm_get_num_{direction}devices") + func = getattr(self, f"bind_{direction}put_get_device_number") res = self.call(func, ok_exp=lambda r: r >= 0) return res