2015-05-10 17:21:46 +00:00
|
|
|
#include "dsp/nullsink.h"
|
|
|
|
#include "dsp/dspcommands.h"
|
|
|
|
#include "util/messagequeue.h"
|
|
|
|
|
|
|
|
NullSink::NullSink()
|
|
|
|
{
|
2015-08-12 07:03:02 +00:00
|
|
|
setObjectName("NullSink");
|
2015-05-10 17:21:46 +00:00
|
|
|
}
|
|
|
|
|
2015-08-14 03:00:28 +00:00
|
|
|
NullSink::~NullSink()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2018-11-12 13:04:16 +00:00
|
|
|
bool NullSink::init(const Message& message)
|
2015-08-14 03:00:28 +00:00
|
|
|
{
|
2018-11-12 14:05:14 +00:00
|
|
|
(void) message;
|
2015-08-14 03:00:28 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2018-11-12 15:58:20 +00:00
|
|
|
void NullSink::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly)
|
2015-05-10 17:21:46 +00:00
|
|
|
{
|
2018-11-12 15:58:20 +00:00
|
|
|
(void) begin;
|
|
|
|
(void) end;
|
|
|
|
(void) positiveOnly;
|
2015-05-10 17:21:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void NullSink::start()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void NullSink::stop()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2018-11-12 15:58:20 +00:00
|
|
|
bool NullSink::handleMessage(const Message& message)
|
2015-05-10 17:21:46 +00:00
|
|
|
{
|
2018-11-12 15:58:20 +00:00
|
|
|
(void) message;
|
2015-08-14 03:00:28 +00:00
|
|
|
return false;
|
2015-05-10 17:21:46 +00:00
|
|
|
}
|