1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-05-23 18:52:28 -04:00
sdrangel/sdrbase/dsp/nullsink.h

23 lines
524 B
C
Raw Normal View History

#ifndef INCLUDE_NULLSINK_H
#define INCLUDE_NULLSINK_H
#include <dsp/basebandsamplesink.h>
#include "export.h"
2015-08-14 05:00:28 +02:00
class Message;
2018-03-03 20:23:38 +01:00
class SDRBASE_API NullSink : public BasebandSampleSink {
public:
NullSink();
2015-08-14 05:00:28 +02:00
virtual ~NullSink();
2015-08-14 05:00:28 +02:00
virtual bool init(const Message& cmd);
2018-03-03 10:06:47 +01:00
virtual void feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly);
2015-08-14 05:00:28 +02:00
virtual void start();
virtual void stop();
virtual bool handleMessage(const Message& message);
};
#endif // INCLUDE_NULLSINK_H