1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-03 15:31:15 -05:00
sdrangel/sdrbase/dsp/nullsink.cpp
2018-03-03 10:06:47 +01:00

35 lines
607 B
C++

#include "dsp/nullsink.h"
#include "dsp/dspcommands.h"
#include "util/messagequeue.h"
NullSink::NullSink()
{
setObjectName("NullSink");
}
NullSink::~NullSink()
{
}
bool NullSink::init(const Message& message __attribute__((unused)))
{
return false;
}
void NullSink::feed(const SampleVector::const_iterator& begin __attribute__((unused)), const SampleVector::const_iterator& end __attribute__((unused)), bool positiveOnly __attribute__((unused)))
{
}
void NullSink::start()
{
}
void NullSink::stop()
{
}
bool NullSink::handleMessage(const Message& message __attribute__((unused)))
{
return false;
}