mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
[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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user