[WIP] updated the 2 channel synthesizer to use a more SIMD friendly

filter structure.  Updated the channel results array buffer to produce
reusable buffers.

This has dropped the overall memory usage considerably when profiling.

Resolved issue in the processing chain where polyphase channel sources
were not being stopped and were stacking up in memory.
This commit is contained in:
Denny
2018-05-10 08:08:20 -04:00
parent cbc228d798
commit 341e740e77
15 changed files with 257 additions and 115 deletions

View File

@@ -107,6 +107,16 @@ public class ReusableBufferAssembler
}
}
/**
* Adds the samples to this assembler. As each buffer is assembled, it will be dispatched to the registered
* listener.
*/
public void receive(ReusableComplexBuffer samplesBuffer)
{
receive(samplesBuffer.getSamples());
samplesBuffer.decrementUserCount();
}
/**
* Flushes the current buffer contents to the registered listener
*/