1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-05 16:31:15 -05:00
sdrangel/sdrbase/dsp/nullsink.cpp

35 lines
593 B
C++
Raw Normal View History

#include "dsp/nullsink.h"
#include "dsp/dspcommands.h"
#include "util/messagequeue.h"
NullSink::NullSink()
{
setObjectName("NullSink");
}
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;
}
2017-05-25 14:13:34 -04:00
void NullSink::feed(SampleVector::const_iterator begin __attribute__((unused)), SampleVector::const_iterator end __attribute__((unused)), bool positiveOnly __attribute__((unused)))
{
}
void NullSink::start()
{
}
void NullSink::stop()
{
}
2017-05-25 14:13:34 -04:00
bool NullSink::handleMessage(const Message& message __attribute__((unused)))
{
2015-08-13 23:00:28 -04:00
return false;
}