mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-08-06 19:06:19 -04:00
Fixes to allow Compilation using VC++ 12
Some minor fixes and tweaks to allow compilation under Visual C++ 12. This doesn't include changes that I need to make to the build generation.
This commit is contained in:
@@ -88,7 +88,7 @@ void SDRPostThread::threadMain() {
|
||||
|
||||
iirfilt_crcf_execute_block(dcFilter, &fpData[0], dataSize, &dataOut[0]);
|
||||
|
||||
if (iqDataOutQueue != NULL) {
|
||||
if (iqDataOutQueue.load() != NULL) {
|
||||
DemodulatorThreadIQData *pipeDataOut = new DemodulatorThreadIQData;
|
||||
|
||||
pipeDataOut->frequency = data_in->frequency;
|
||||
@@ -97,7 +97,7 @@ void SDRPostThread::threadMain() {
|
||||
iqDataOutQueue.load()->push(pipeDataOut);
|
||||
}
|
||||
|
||||
if (iqVisualQueue != NULL && iqVisualQueue.load()->empty()) {
|
||||
if (iqVisualQueue.load() != NULL && iqVisualQueue.load()->empty()) {
|
||||
if (visualDataOut->data.size() < num_vis_samples) {
|
||||
if (visualDataOut->data.capacity() < num_vis_samples) {
|
||||
visualDataOut->data.reserve(num_vis_samples);
|
||||
|
||||
Reference in New Issue
Block a user