Merge branch 'fix' into dev

This commit is contained in:
f4exb 2015-12-10 04:03:47 +01:00
commit 0259868ebe
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ public:
void start(); //!< this thread start() void start(); //!< this thread start()
void stop(); //!< this thread exit() and wait() 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 void feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly); //!< Feed sink with samples
QString getSampleSinkObjectName() const; QString getSampleSinkObjectName() const;

View File

@ -110,7 +110,7 @@ void ThreadedSampleSink::feed(SampleVector::const_iterator begin, SampleVector::
m_threadedSampleFifo->writeToFifo(begin, end); m_threadedSampleFifo->writeToFifo(begin, end);
} }
bool ThreadedSampleSink::handleSinkMessage(Message& cmd) bool ThreadedSampleSink::handleSinkMessage(const Message& cmd)
{ {
return m_sampleSink->handleMessage(cmd); return m_sampleSink->handleMessage(cmd);
} }