new buffer thingy 2

This commit is contained in:
Ryzerth 2021-06-28 22:11:20 +02:00
parent dff9ec2d37
commit 70cf463881

View File

@ -225,7 +225,7 @@ namespace dsp {
SampleFrameBuffer(stream<T>* in) { init(in); }
~SampleFrameBuffer() {
stop();
generic_block<SampleFrameBuffer<T>>::stop();
out.stopWriter();
stopWorker = true;
cnd.notify_all();