clamp only to minimum

This commit is contained in:
Eknous-P 2025-07-25 23:33:09 +04:00
parent 6d44ef5641
commit f7ded06987

View file

@ -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);