mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 08:28:36 -05:00
DSD demod plugin: fixed missing destructor for DSD filters
This commit is contained in:
parent
7412a47ba2
commit
f167241da7
@ -36,7 +36,6 @@ DSDDecoder::DSDDecoder() :
|
||||
|
||||
DSDDecoder::~DSDDecoder()
|
||||
{
|
||||
fclose(stderr);
|
||||
}
|
||||
|
||||
void DSDDecoder::run(short sample)
|
||||
@ -1046,7 +1045,7 @@ int DSDDecoder::getFrameSync()
|
||||
|
||||
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;
|
||||
@ -1059,7 +1058,7 @@ int DSDDecoder::getFrameSync()
|
||||
|
||||
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)
|
||||
@ -1086,7 +1085,7 @@ int DSDDecoder::getFrameSync()
|
||||
|
||||
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)
|
||||
@ -1104,7 +1103,7 @@ int DSDDecoder::getFrameSync()
|
||||
|
||||
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;
|
||||
|
@ -86,6 +86,10 @@ DSDFilters::DSDFilters()
|
||||
}
|
||||
}
|
||||
|
||||
DSDFilters::~DSDFilters()
|
||||
{
|
||||
}
|
||||
|
||||
short DSDFilters::dmr_filter(short sample)
|
||||
{
|
||||
return dsd_input_filter(sample, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user