Skip to content

Commit

Permalink
Added sink->init(nullptr) to satisfy assert(_block_in) in dsp::sink
Browse files Browse the repository at this point in the history
  • Loading branch information
williamyang98 committed Feb 13, 2024
1 parent 7b053bf commit 83e47a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dab_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ DABModule::DABModule(std::string _name)
// setup radio
radio_block = std::make_unique<Radio_Block>(1,1);
ofdm_demodulator_sink = std::make_unique<OFDM_Demodulator_Sink>(radio_block->get_ofdm_demodulator());
ofdm_demodulator_sink->init(nullptr);
radio_view_controller = std::make_unique<Radio_View_Controller>();
// setup audio
const float DEFAULT_AUDIO_SAMPLE_RATE = 48000.0f;
Expand Down

0 comments on commit 83e47a1

Please sign in to comment.