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

27 lines
398 B
C++
Raw Normal View History

#include "dsp/nullsink.h"
#include "dsp/dspcommands.h"
#include "util/messagequeue.h"
NullSink::NullSink()
{
setObjectName("NullSink");
}
void NullSink::feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly)
{
}
void NullSink::start()
{
}
void NullSink::stop()
{
}
bool NullSink::handleMessage(Message* message)
{
message->completed();
return true;
}