implements advanced settings popup

gives access to driver buffer settings.

may open by button or ctrl-a
This commit is contained in:
2023-09-11 07:51:16 +01:00
parent 5069db97da
commit 14c6b937d1
3 changed files with 111 additions and 82 deletions

View File

@@ -228,24 +228,20 @@ class Builder:
return psg.Frame("PATCH INSERT", asio_checkboxes)
def make_tab0_row5(self) -> psg.Frame:
"""tab0 row5 represents asio buffer"""
samples = get_asio_samples_list()
samples.append("Default")
"""tab0 row5 represents advanced settings"""
return psg.Frame(
"ASIO BUFFER",
"ADVANCED SETTINGS",
[
[
psg.ButtonMenu(
"ASIO BUFFER",
size=(14, 2),
menu_def=["", samples],
key="ASIO BUFFER",
psg.Button(
"ADVANCED SETTINGS",
size=(20, 2),
key="ADVANCED SETTINGS",
)
]
],
],
key="ASIO BUFFER FRAME",
key="ADVANCED SETTINGS FRAME",
)
def make_tab1_row(self, i) -> psg.Frame: