Updates the Passport decoder to the new architecture and implements

per-call recording.
This commit is contained in:
denny
2015-09-26 09:35:05 -04:00
parent 507ae5255e
commit 550f5c5d27
5 changed files with 343 additions and 289 deletions

View File

@@ -238,8 +238,10 @@ public class DecoderFactory
modules.add( getFMDemodulator( decodeConfig, pass, stop, REMOVE_DC ) );
break;
case PASSPORT:
modules.add( new AudioModule( recordAudio, REMOVE_DC ) );
modules.add( new PassportDecoder( decodeConfig, aliasList ) );
modules.add( new PassportDecoderState( aliasList ) );
modules.add( getFMDemodulator( decodeConfig, pass, stop, NO_REMOVE_DC ) );
break;
case P25_PHASE1:
DecodeConfigP25Phase1 p25Config = (DecodeConfigP25Phase1)decodeConfig;