mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 03:34:35 +00:00
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:
parent
2214533894
commit
002ef720ee
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user