mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Code fix: threaded sample sink handle message method should take a const message argument
This commit is contained in:
parent
274626d58f
commit
85f4963438
@ -63,7 +63,7 @@ public:
|
||||
void start(); //!< this thread start()
|
||||
void stop(); //!< this thread exit() and wait()
|
||||
|
||||
bool handleSinkMessage(Message& cmd); //!< Send message to sink synchronously
|
||||
bool handleSinkMessage(const Message& cmd); //!< Send message to sink synchronously
|
||||
void feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly); //!< Feed sink with samples
|
||||
|
||||
QString getSampleSinkObjectName() const;
|
||||
|
@ -110,7 +110,7 @@ void ThreadedSampleSink::feed(SampleVector::const_iterator begin, SampleVector::
|
||||
m_threadedSampleFifo->writeToFifo(begin, end);
|
||||
}
|
||||
|
||||
bool ThreadedSampleSink::handleSinkMessage(Message& cmd)
|
||||
bool ThreadedSampleSink::handleSinkMessage(const Message& cmd)
|
||||
{
|
||||
return m_sampleSink->handleMessage(cmd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user