Apply source formatting for demodulator thread

This commit is contained in:
Charles J. Cliffe 2015-11-18 21:13:04 -05:00
parent ea005014ae
commit 10aa9f86dd
2 changed files with 63 additions and 70 deletions

View File

@ -19,7 +19,9 @@ DemodulatorThread::DemodulatorThread(DemodulatorInstance *parent) : IOThread(),
agcEnabled.store(false);
}
DemodulatorThread::~DemodulatorThread() {
}
void DemodulatorThread::onBindOutput(std::string name, ThreadQueueBase *threadQueue) {
@ -219,7 +221,6 @@ void DemodulatorThread::run() {
}
}
inp->decRefCount();
}
// end while !terminated
@ -261,7 +262,6 @@ bool DemodulatorThread::getAGC() {
return agcEnabled.load();
}
float DemodulatorThread::getSignalLevel() {
return signalLevel.load();
}

View File

@ -33,13 +33,6 @@ public:
void setSquelchLevel(float signal_level_in);
float getSquelchLevel();
//
//#ifdef __APPLE__
// static void *pthread_helper(void *context) {
// return ((DemodulatorThread *) context)->threadMain();
// }
//#endif
protected:
DemodulatorInstance *demodInstance;
ReBuffer<AudioThreadInput> outputBuffers;