ASIO backend, part 8

add control panel button
last commit unless it doesn't work somewhere
This commit is contained in:
tildearrow 2025-10-25 21:23:50 -05:00
parent 8ed69b7a5d
commit 99c6cbffa6
7 changed files with 38 additions and 0 deletions

View file

@ -1347,6 +1347,15 @@ void FurnaceGUI::drawSettings() {
}
}
if (settings.audioEngine==DIV_AUDIO_ASIO) {
ImGui::SameLine();
if (ImGui::Button(_("Control panel"))) {
if (e->audioBackendCommand(TA_AUDIO_CMD_SETUP)!=2) {
showError(_("this driver doesn't have a control panel."));
}
}
}
ImGui::TableNextRow();
ImGui::TableNextColumn();
ImGui::AlignTextToFramePadding();