mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-26 23:06:34 -04:00
Always delete BasebandSampleSink::MsgThreadedSink on return of processing
This commit is contained in:
parent
9dacbb6d83
commit
60568de298
@ -77,9 +77,8 @@ ThreadedBasebandSampleSink::ThreadedBasebandSampleSink(BasebandSampleSink* sampl
|
|||||||
m_basebandSampleSink->moveToThread(m_thread);
|
m_basebandSampleSink->moveToThread(m_thread);
|
||||||
m_threadedBasebandSampleSinkFifo->moveToThread(m_thread);
|
m_threadedBasebandSampleSinkFifo->moveToThread(m_thread);
|
||||||
BasebandSampleSink::MsgThreadedSink *msg = BasebandSampleSink::MsgThreadedSink::create(m_thread); // inform of the new thread
|
BasebandSampleSink::MsgThreadedSink *msg = BasebandSampleSink::MsgThreadedSink::create(m_thread); // inform of the new thread
|
||||||
if (!m_basebandSampleSink->handleMessage(*msg)) {
|
m_basebandSampleSink->handleMessage(*msg);
|
||||||
delete msg;
|
delete msg;
|
||||||
}
|
|
||||||
//m_sampleFifo.moveToThread(m_thread);
|
//m_sampleFifo.moveToThread(m_thread);
|
||||||
//connect(&m_sampleFifo, SIGNAL(dataReady()), this, SLOT(handleData()));
|
//connect(&m_sampleFifo, SIGNAL(dataReady()), this, SLOT(handleData()));
|
||||||
//m_sampleFifo.setSize(262144);
|
//m_sampleFifo.setSize(262144);
|
||||||
|
Loading…
Reference in New Issue
Block a user