1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 16:38:37 -05:00

DSD demod plugin: fixed missing destructor for DSD filters

This commit is contained in:
f4exb 2016-04-11 08:29:03 +02:00
parent 7412a47ba2
commit f167241da7
2 changed files with 8 additions and 5 deletions

View File

@ -36,7 +36,6 @@ DSDDecoder::DSDDecoder() :
DSDDecoder::~DSDDecoder() DSDDecoder::~DSDDecoder()
{ {
fclose(stderr);
} }
void DSDDecoder::run(short sample) void DSDDecoder::run(short sample)
@ -1046,7 +1045,7 @@ int DSDDecoder::getFrameSync()
if (m_opts.errorbars == 1) if (m_opts.errorbars == 1)
{ {
printFrameSync(" +DMR ", m_synctest_pos + 1, m_modulation); printFrameSync(" +DMRd ", m_synctest_pos + 1, m_modulation);
} }
m_state.lastsynctype = 10; m_state.lastsynctype = 10;
@ -1059,7 +1058,7 @@ int DSDDecoder::getFrameSync()
if (m_opts.errorbars == 1) if (m_opts.errorbars == 1)
{ {
printFrameSync(" -DMR ", m_synctest_pos + 1, m_modulation); printFrameSync(" -DMRv ", m_synctest_pos + 1, m_modulation);
} }
if (m_state.lastsynctype != 11) if (m_state.lastsynctype != 11)
@ -1086,7 +1085,7 @@ int DSDDecoder::getFrameSync()
if (m_opts.errorbars == 1) if (m_opts.errorbars == 1)
{ {
printFrameSync(" +DMR ", m_synctest_pos + 1, m_modulation); printFrameSync(" +DMRv ", m_synctest_pos + 1, m_modulation);
} }
if (m_state.lastsynctype != 12) if (m_state.lastsynctype != 12)
@ -1104,7 +1103,7 @@ int DSDDecoder::getFrameSync()
if (m_opts.errorbars == 1) if (m_opts.errorbars == 1)
{ {
printFrameSync(" -DMR ", m_synctest_pos + 1, m_modulation); printFrameSync(" -DMRd ", m_synctest_pos + 1, m_modulation);
} }
m_state.lastsynctype = 13; m_state.lastsynctype = 13;

View File

@ -86,6 +86,10 @@ DSDFilters::DSDFilters()
} }
} }
DSDFilters::~DSDFilters()
{
}
short DSDFilters::dmr_filter(short sample) short DSDFilters::dmr_filter(short sample)
{ {
return dsd_input_filter(sample, 1); return dsd_input_filter(sample, 1);