mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-26 02:48:31 +01:00
Fixed pluto sample rate bug
This commit is contained in:
parent
d41ae73e0d
commit
f492c6fc61
@ -170,6 +170,7 @@ private:
|
||||
ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX());
|
||||
if (_this->running) { style::beginDisabled(); }
|
||||
if (ImGui::InputFloat(CONCAT("##_samplerate_select_", _this->name), &_this->sampleRate, 1, 1000, 0)) {
|
||||
_this->sampleRate = std::clamp<float>(_this->sampleRate, 500000, 61000000);
|
||||
core::setInputSampleRate(_this->sampleRate);
|
||||
config.aquire();
|
||||
config.conf["sampleRate"] = _this->sampleRate;
|
||||
|
Loading…
Reference in New Issue
Block a user