bus mono now a ButtonMenu.

this allows users to select between  `mono off`, `mono on` and `stereo reverse`. This properly reflects the Voicemeter GUI.
This commit is contained in:
2026-03-11 01:11:17 +00:00
parent 1ea1c59f06
commit cc6e187998
3 changed files with 39 additions and 7 deletions

View File

@@ -155,6 +155,10 @@ def get_bus_modes(vm) -> list:
]
def get_bus_mono() -> list:
return ['off', 'on', 'stereo reverse']
def check_bounds(val, bounds: tuple) -> int | float:
lower, upper = bounds
if val > upper: