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

40 lines
586 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()
{
}
bool NullSink::init(const Message& message)
2015-08-13 23:00:28 -04:00
{
(void) message;
2015-08-13 23:00:28 -04:00
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;
2015-08-13 23:00:28 -04:00
return false;
}