From c55f8b71fd3837a2a0409b11f764c10e20bddd05 Mon Sep 17 00:00:00 2001 From: LinuxSheeple-E Date: Wed, 10 Sep 2014 15:05:02 -0400 Subject: [PATCH] Fixed 12.5KHz NXDN poor performance due to the 6.25KHz filter being used. --- dsd_symbol.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dsd_symbol.c b/dsd_symbol.c index b7fac9f0..f286ae28 100644 --- a/dsd_symbol.c +++ b/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))