mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-01 13:44:56 -04:00
Tentative fix #549 prt 3
This commit is contained in:
@@ -135,7 +135,8 @@ class VisualDataDistributor : public VisualProcessor<OutputDataType, OutputDataT
|
||||
protected:
|
||||
|
||||
virtual void process() {
|
||||
VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr inp;
|
||||
|
||||
typename VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr inp;
|
||||
|
||||
while (VisualProcessor<OutputDataType, OutputDataType>::input->try_pop(inp)) {
|
||||
|
||||
@@ -168,7 +169,8 @@ protected:
|
||||
ReBuffer<OutputDataType> buffers;
|
||||
|
||||
virtual void process() {
|
||||
VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr inp;
|
||||
|
||||
typename VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr inp;
|
||||
|
||||
while (VisualProcessor<OutputDataType, OutputDataType>::input->try_pop(inp)) {
|
||||
|
||||
@@ -180,7 +182,8 @@ protected:
|
||||
}
|
||||
|
||||
if (inp) {
|
||||
VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr outp = buffers.getBuffer();
|
||||
|
||||
typename VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr outp = buffers.getBuffer();
|
||||
|
||||
//'deep copy' of the contents
|
||||
(*outp) = (*inp);
|
||||
|
||||
Reference in New Issue
Block a user