mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
40 lines
586 B
C++
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;
|
|
}
|