Fixed 12.5KHz NXDN poor performance due to the 6.25KHz filter being used.

This commit is contained in:
LinuxSheeple-E
2014-09-10 15:05:02 -04:00
committed by Dylan Reinhold
parent cc1fb3b33c
commit c55f8b71fd

View File

@@ -112,7 +112,16 @@ getSymbol (dsd_opts * opts, dsd_state * state, int have_sync)
sample = dmr_filter(sample);
else if (state->lastsynctype == 8 || state->lastsynctype == 9 ||
state->lastsynctype == 16 || state->lastsynctype == 17)
sample = nxdn_filter(sample);
{
if(state->samplesPerSymbol == 20)
{
sample = nxdn_filter(sample);
}
else // the 12.5KHz NXDN filter is the same as the DMR filter
{
sample = dmr_filter(sample);
}
}
}
if ((sample > state->max) && (have_sync == 1) && (state->rf_mod == 0))