Make DSP buffer size editable, to lower RAM usable drastically on SBCs

This commit is contained in:
Aang23 2023-01-31 20:40:37 +01:00
parent 2bf21ef140
commit fa4929efd6
11 changed files with 70 additions and 23 deletions

View file

@ -173,7 +173,7 @@ int main_live(int argc, char *argv[])
// Init pipeline
parameters["baseband_format"] = "f32";
parameters["buffer_size"] = STREAM_BUFFER_SIZE; // This is required, as we WILL go over the (usually) default 8192 size
parameters["buffer_size"] = dsp::STREAM_BUFFER_SIZE; // This is required, as we WILL go over the (usually) default 8192 size
parameters["start_timestamp"] = (double)time(0); // Some pipelines need this
std::unique_ptr<satdump::LivePipeline> live_pipeline = std::make_unique<satdump::LivePipeline>(pipeline.value(), parameters, output_file);