sdrangel/sdrbase/dsp/nullsink.cpp

35 wiersze
607 B
C++
Czysty Zwykły widok Historia

#include "dsp/nullsink.h"
#include "dsp/dspcommands.h"
#include "util/messagequeue.h"
NullSink::NullSink()
{
setObjectName("NullSink");
}
2015-08-14 03:00:28 +00:00
NullSink::~NullSink()
{
}
2017-05-25 18:13:34 +00:00
bool NullSink::init(const Message& message __attribute__((unused)))
2015-08-14 03:00:28 +00:00
{
return false;
}
2018-03-03 09:06:47 +00:00
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()
{
}
2017-05-25 18:13:34 +00:00
bool NullSink::handleMessage(const Message& message __attribute__((unused)))
{
2015-08-14 03:00:28 +00:00
return false;
}