2015-05-10 13:21:46 -04:00
|
|
|
#include "dsp/nullsink.h"
|
|
|
|
#include "dsp/dspcommands.h"
|
|
|
|
#include "util/messagequeue.h"
|
|
|
|
|
|
|
|
NullSink::NullSink()
|
|
|
|
{
|
2015-08-12 03:03:02 -04:00
|
|
|
setObjectName("NullSink");
|
2015-05-10 13:21:46 -04:00
|
|
|
}
|
|
|
|
|
2015-08-13 23:00:28 -04:00
|
|
|
NullSink::~NullSink()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-05-25 14:13:34 -04:00
|
|
|
bool NullSink::init(const Message& message __attribute__((unused)))
|
2015-08-13 23:00:28 -04:00
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2018-03-03 04:06:47 -05:00
|
|
|
void NullSink::feed(const SampleVector::const_iterator& begin __attribute__((unused)), const SampleVector::const_iterator& end __attribute__((unused)), bool positiveOnly __attribute__((unused)))
|
2015-05-10 13:21:46 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void NullSink::start()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void NullSink::stop()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-05-25 14:13:34 -04:00
|
|
|
bool NullSink::handleMessage(const Message& message __attribute__((unused)))
|
2015-05-10 13:21:46 -04:00
|
|
|
{
|
2015-08-13 23:00:28 -04:00
|
|
|
return false;
|
2015-05-10 13:21:46 -04:00
|
|
|
}
|