1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-27 02:09:14 -05:00
sdrangel/include-gpl/dsp/nullsink.h
2015-08-30 01:26:51 +02:00

23 lines
500 B
C++

#ifndef INCLUDE_NULLSINK_H
#define INCLUDE_NULLSINK_H
#include "dsp/samplesink.h"
#include "util/export.h"
class Message;
class SDRANGEL_API NullSink : public SampleSink {
public:
NullSink();
virtual ~NullSink();
virtual bool init(const Message& cmd);
virtual void feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly);
virtual void start();
virtual void stop();
virtual bool handleMessage(const Message& message);
};
#endif // INCLUDE_NULLSINK_H