From f7ded06987450b48b8f92980bc93beba28c1e1dd Mon Sep 17 00:00:00 2001 From: Eknous-P Date: Fri, 25 Jul 2025 23:33:09 +0400 Subject: [PATCH] clamp only to minimum --- src/gui/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 9a162c190..dfab96fa0 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -7010,7 +7010,7 @@ bool FurnaceGUI::loop() { ImGui::SameLine(); ImGui::SetNextItemWidth(120.0f*dpiScale); if (ImGui::InputInt("##RSChans",&pendingRawSampleChannels,1,2)) { - CLAMP_VAR(pendingRawSampleChannels, 1, 16) + if (pendingRawSampleChannels<1) pendingRawSampleChannels=1; } ImGui::Text(_("(will be mixed down to mono)")); ImGui::Checkbox(_("Unsigned"),&pendingRawSampleUnsigned);