mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-13 01:07:24 -05:00
Fixed 12.5KHz NXDN poor performance due to the 6.25KHz filter being used.
This commit is contained in:
committed by
Dylan Reinhold
parent
cc1fb3b33c
commit
c55f8b71fd
11
dsd_symbol.c
11
dsd_symbol.c
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user