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

23 lines
516 B
C
Raw Normal View History

#ifndef INCLUDE_NULLSINK_H
#define INCLUDE_NULLSINK_H
#include <dsp/basebandsamplesink.h>
#include "util/export.h"
2015-08-13 23:00:28 -04:00
class Message;
class SDRANGEL_API NullSink : public BasebandSampleSink {
public:
NullSink();
2015-08-13 23:00:28 -04:00
virtual ~NullSink();
2015-08-13 23:00:28 -04:00
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