fix plutosdr source not updating samplerate on select

This commit is contained in:
AlexandreRouma 2024-01-28 14:39:01 +01:00
parent 1cd8c2510a
commit 6b5de78e80

View File

@ -193,6 +193,9 @@ private:
gain = std::clamp<int>(gain, -1.0f, 73.0f);
}
config.release();
// Update core samplerate
core::setInputSampleRate(samplerate);
}
static void menuSelected(void* ctx) {