sdrangel/sdrbase/dsp/nullsink.cpp

40 wiersze
586 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()
{
}
bool NullSink::init(const Message& message)
2015-08-14 03:00:28 +00:00
{
(void) message;
2015-08-14 03:00:28 +00: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-14 03:00:28 +00:00
return false;
}