MCPcopy Create free account
hub / github.com/ON4QZ/QSSTV / syncProcessor

Method syncProcessor

src/sstv/syncprocessor.cpp:72–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71
72syncProcessor::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
90syncProcessor::~syncProcessor()
91{

Callers

nothing calls this directly

Calls 3

getMaxLineSamplesFunction · 0.85
getFskDecoderPtrMethod · 0.80
getVisDecoderPtrMethod · 0.80

Tested by

no test coverage detected