File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
src/main/java/io/github/dsheirer Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ public class TalkgroupFormatter
47
47
48
48
static
49
49
{
50
+ AnalogTalkgroupFormatter analogTalkgroupFormatter = new AnalogTalkgroupFormatter ();
51
+ mFormatterMap .put (Protocol .AM , analogTalkgroupFormatter );
52
+ mFormatterMap .put (Protocol .NBFM , analogTalkgroupFormatter );
53
+
50
54
mFormatterMap .put (Protocol .APCO25 , new APCO25TalkgroupFormatter ());
51
55
mFormatterMap .put (Protocol .DMR , new DMRTalkgroupFormatter ());
52
56
mFormatterMap .put (Protocol .FLEETSYNC , new FleetsyncTalkgroupFormatter ());
@@ -55,7 +59,6 @@ public class TalkgroupFormatter
55
59
mFormatterMap .put (Protocol .LTR_NET , ltr );
56
60
mFormatterMap .put (Protocol .MDC1200 , new MDC1200TalkgroupFormatter ());
57
61
mFormatterMap .put (Protocol .MPT1327 , new MPT1327TalkgroupFormatter ());
58
- mFormatterMap .put (Protocol .NBFM , new AnalogTalkgroupFormatter ());
59
62
mFormatterMap .put (Protocol .PASSPORT , new PassportTalkgroupFormatter ());
60
63
mFormatterMap .put (Protocol .UNKNOWN , new UnknownTalkgroupFormatter ());
61
64
}
Original file line number Diff line number Diff line change @@ -48,10 +48,13 @@ public static IAmDemodulator getAmDemodulator(float gain)
48
48
case VECTOR_SIMD_128 :
49
49
return new VectorAMDemodulator128 (gain );
50
50
case VECTOR_SIMD_256 :
51
+ return new VectorAMDemodulator256 (gain );
51
52
case VECTOR_SIMD_512 :
53
+ return new VectorAMDemodulator512 (gain );
52
54
case VECTOR_SIMD_PREFERRED :
53
55
return new VectorAMDemodulator64 (gain );
54
56
case SCALAR :
57
+ case UNCALIBRATED :
55
58
return new ScalarAMDemodulator (gain );
56
59
default :
57
60
mLog .warn ("Unrecognized optimal operation for AM demodulator: " + implementation .name ());
Original file line number Diff line number Diff line change @@ -537,6 +537,7 @@ public static DecodeConfiguration copy(DecodeConfiguration config)
537
537
copyAM .setBandwidth (origAM .getBandwidth ());
538
538
copyAM .setTalkgroup (origAM .getTalkgroup ());
539
539
copyAM .setSquelchThreshold (origAM .getSquelchThreshold ());
540
+ copyAM .setSquelchAutoTrack (origAM .isSquelchAutoTrack ());
540
541
return copyAM ;
541
542
case DMR :
542
543
return new DecodeConfigDMR ();
@@ -563,6 +564,7 @@ public static DecodeConfiguration copy(DecodeConfiguration config)
563
564
DecodeConfigNBFM copyNBFM = new DecodeConfigNBFM ();
564
565
copyNBFM .setBandwidth (origNBFM .getBandwidth ());
565
566
copyNBFM .setSquelchThreshold (origNBFM .getSquelchThreshold ());
567
+ copyNBFM .setSquelchAutoTrack (origNBFM .isSquelchAutoTrack ());
566
568
copyNBFM .setTalkgroup (origNBFM .getTalkgroup ());
567
569
return copyNBFM ;
568
570
case P25_PHASE1 :
You can’t perform that action at this time.
0 commit comments