void SetReverb(int slotNum, std::string name, float ratio) { if (slotNum < 0 or slotNum >= N_REVERB_SLOTS or std::isnan(ratio)) { return; } UpdateReverbSlot(slotNum, std::move(name), ratio); }
void StopTest() const { testingReverb = false; for (int i = 0; i < N_REVERB_SLOTS; i++) { std::string name = std::move(reverbSlots[i].name); UpdateReverbSlot(i, std::move(name), reverbSlots[i].askedRatio); } }