mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-02 06:04:39 -04:00
ReBuffer is overkill for scope vis and crashes OSX; just push and delete at reciever; clean up lazy exception-fallback loadSession code
This commit is contained in:
@@ -99,7 +99,7 @@ void ScopeVisualProcessor::process() {
|
||||
}
|
||||
size_t i, iMax = audioInputData->data.size();
|
||||
if (!iMax) {
|
||||
audioInputData->decRefCount();
|
||||
delete audioInputData; //->decRefCount();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -213,7 +213,7 @@ void ScopeVisualProcessor::process() {
|
||||
renderData->inputRate = audioInputData->inputRate;
|
||||
renderData->sampleRate = audioInputData->sampleRate;
|
||||
|
||||
audioInputData->decRefCount();
|
||||
delete audioInputData; //->decRefCount();
|
||||
|
||||
float fft_ceil = 0, fft_floor = 1;
|
||||
|
||||
@@ -280,7 +280,7 @@ void ScopeVisualProcessor::process() {
|
||||
renderData->spectrum = true;
|
||||
distribute(renderData);
|
||||
} else {
|
||||
audioInputData->decRefCount();
|
||||
delete audioInputData; //->decRefCount();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user