| 70 | |
| 71 | |
| 72 | syncProcessor::syncProcessor(bool narrow, QObject *parent) : QObject(parent),streamDecode(narrow) |
| 73 | { |
| 74 | detectNarrow=narrow; |
| 75 | currentModePtr=NULL; |
| 76 | visMode=NOTVALID; |
| 77 | maxLineSamples=getMaxLineSamples(); |
| 78 | // syncFound=false; |
| 79 | if(!detectNarrow) |
| 80 | { |
| 81 | connect(streamDecode.getFskDecoderPtr(),SIGNAL(callReceived(QString)),SLOT(slotNewCall(QString))); |
| 82 | connect(streamDecode.getVisDecoderPtr(),SIGNAL(visCodeWideDetected(int,uint)),SLOT(slotVisCodeDetected(int,uint))); |
| 83 | } |
| 84 | else |
| 85 | { |
| 86 | connect(streamDecode.getVisDecoderPtr(),SIGNAL(visCodeNarrowDetected(int,uint)),SLOT(slotVisCodeDetected(int,uint))); |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | syncProcessor::~syncProcessor() |
| 91 | { |
nothing calls this directly
no test coverage detected