1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 00:18:37 -05:00
sdrangel/sdrbase/dsp/nullsink.cpp

40 lines
586 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)
{
(void) message;
return false;
}
void NullSink::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly)
{
(void) begin;
(void) end;
(void) positiveOnly;
}
void NullSink::start()
{
}
void NullSink::stop()
{
}
bool NullSink::handleMessage(const Message& message)
{
(void) message;
return false;
}