mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-26 21:58:37 -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:
|
protected:
|
||||||
|
|
||||||
virtual void process() {
|
virtual void process() {
|
||||||
VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr inp;
|
|
||||||
|
typename VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr inp;
|
||||||
|
|
||||||
while (VisualProcessor<OutputDataType, OutputDataType>::input->try_pop(inp)) {
|
while (VisualProcessor<OutputDataType, OutputDataType>::input->try_pop(inp)) {
|
||||||
|
|
||||||
@ -168,7 +169,8 @@ protected:
|
|||||||
ReBuffer<OutputDataType> buffers;
|
ReBuffer<OutputDataType> buffers;
|
||||||
|
|
||||||
virtual void process() {
|
virtual void process() {
|
||||||
VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr inp;
|
|
||||||
|
typename VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr inp;
|
||||||
|
|
||||||
while (VisualProcessor<OutputDataType, OutputDataType>::input->try_pop(inp)) {
|
while (VisualProcessor<OutputDataType, OutputDataType>::input->try_pop(inp)) {
|
||||||
|
|
||||||
@ -180,7 +182,8 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (inp) {
|
if (inp) {
|
||||||
VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr outp = buffers.getBuffer();
|
|
||||||
|
typename VisualProcessor<OutputDataType, OutputDataType>::OutputDataTypePtr outp = buffers.getBuffer();
|
||||||
|
|
||||||
//'deep copy' of the contents
|
//'deep copy' of the contents
|
||||||
(*outp) = (*inp);
|
(*outp) = (*inp);
|
||||||
|
Loading…
Reference in New Issue
Block a user