From 77dfd00541389af9a38b74a25cd47434eff64b40 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 6 Sep 2023 19:18:31 +0100 Subject: [PATCH] reduces the bus mode list for basic kind --- src/nvda_voicemeeter/util.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/nvda_voicemeeter/util.py b/src/nvda_voicemeeter/util.py index 91ef1a4..ee2e957 100644 --- a/src/nvda_voicemeeter/util.py +++ b/src/nvda_voicemeeter/util.py @@ -94,7 +94,14 @@ def get_channel_identifier_list(vm) -> list: return identifiers -def get_bus_modes() -> list: +def get_bus_modes(vm) -> list: + if vm.kind.name == "basic": + return [ + "normal", + "amix", + "repeat", + "composite", + ] return [ "normal", "amix",