mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-02-03 09:44:26 -05:00
Apply source formatting for demodulator thread
This commit is contained in:
parent
ea005014ae
commit
10aa9f86dd
@ -19,7 +19,9 @@ DemodulatorThread::DemodulatorThread(DemodulatorInstance *parent) : IOThread(),
|
|||||||
agcEnabled.store(false);
|
agcEnabled.store(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DemodulatorThread::~DemodulatorThread() {
|
DemodulatorThread::~DemodulatorThread() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DemodulatorThread::onBindOutput(std::string name, ThreadQueueBase *threadQueue) {
|
void DemodulatorThread::onBindOutput(std::string name, ThreadQueueBase *threadQueue) {
|
||||||
@ -219,7 +221,6 @@ void DemodulatorThread::run() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inp->decRefCount();
|
inp->decRefCount();
|
||||||
}
|
}
|
||||||
// end while !terminated
|
// end while !terminated
|
||||||
@ -261,7 +262,6 @@ bool DemodulatorThread::getAGC() {
|
|||||||
return agcEnabled.load();
|
return agcEnabled.load();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
float DemodulatorThread::getSignalLevel() {
|
float DemodulatorThread::getSignalLevel() {
|
||||||
return signalLevel.load();
|
return signalLevel.load();
|
||||||
}
|
}
|
||||||
|
@ -33,13 +33,6 @@ public:
|
|||||||
void setSquelchLevel(float signal_level_in);
|
void setSquelchLevel(float signal_level_in);
|
||||||
float getSquelchLevel();
|
float getSquelchLevel();
|
||||||
|
|
||||||
//
|
|
||||||
//#ifdef __APPLE__
|
|
||||||
// static void *pthread_helper(void *context) {
|
|
||||||
// return ((DemodulatorThread *) context)->threadMain();
|
|
||||||
// }
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
DemodulatorInstance *demodInstance;
|
DemodulatorInstance *demodInstance;
|
||||||
ReBuffer<AudioThreadInput> outputBuffers;
|
ReBuffer<AudioThreadInput> outputBuffers;
|
||||||
|
Loading…
Reference in New Issue
Block a user