Fixed waterfall frequency scale in Replay app (#1337)

* Fix waterfall frequency scale in Replay

* Fix waterfall frequency scale in Replay
This commit is contained in:
Mark Thompson 2023-08-01 13:20:19 -05:00 committed by GitHub
parent 2214533894
commit 002ef720ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -46,6 +46,8 @@ void ReplayProcessor::execute(const buffer_c8_t& buffer) {
if (!configured || !stream) return;
buffer_c16_t iq_buffer{iq.data(), iq.size(), baseband_fs / 8};
// File data is in C16 format, we need C8
// File samplerate is 500kHz, we're at 4MHz
// iq_buffer can only be 512 C16 samples (RAM limitation)

View File

@ -45,10 +45,6 @@ class ReplayProcessor : public BasebandProcessor {
static constexpr auto spectrum_rate_hz = 50.0f;
std::array<complex16_t, 256> iq{};
const buffer_c16_t iq_buffer{
iq.data(),
iq.size(),
baseband_fs / 8};
int32_t channel_filter_low_f = 0;
int32_t channel_filter_high_f = 0;