mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-23 04:08:36 -05:00
Tentative fix #549 prt 3
This commit is contained in:
parent
b3dd0b0d6e
commit
3de3d3eee8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user