mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-07-12 13:54:16 -04:00
GL context init fixes and warning cleanup
This commit is contained in:
@@ -100,6 +100,8 @@ void DemodulatorPreThread::threadMain() {
|
||||
case DemodulatorThreadCommand::DEMOD_THREAD_CMD_SET_FREQUENCY:
|
||||
params.frequency = command.llong_value;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -227,6 +229,8 @@ void DemodulatorPreThread::threadMain() {
|
||||
params.bandwidth = result.bandwidth;
|
||||
params.sampleRate = result.sampleRate;
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -243,6 +247,10 @@ void DemodulatorPreThread::threadMain() {
|
||||
tCmd.context = this;
|
||||
threadQueueNotify->push(tCmd);
|
||||
std::cout << "Demodulator preprocessor thread done." << std::endl;
|
||||
|
||||
#ifdef __APPLE__
|
||||
return this;
|
||||
#endif
|
||||
}
|
||||
|
||||
void DemodulatorPreThread::terminate() {
|
||||
|
||||
Reference in New Issue
Block a user