mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-09 06:36:34 -04:00
21 lines
408 B
C
21 lines
408 B
C
|
#ifndef INCLUDE_NULLSINK_H
|
||
|
#define INCLUDE_NULLSINK_H
|
||
|
|
||
|
#include "dsp/samplesink.h"
|
||
|
#include "util/export.h"
|
||
|
|
||
|
class MessageQueue;
|
||
|
|
||
|
class SDRANGELOVE_API NullSink : public SampleSink {
|
||
|
public:
|
||
|
|
||
|
NullSink();
|
||
|
|
||
|
void feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly);
|
||
|
void start();
|
||
|
void stop();
|
||
|
bool handleMessage(Message* message);
|
||
|
};
|
||
|
|
||
|
#endif // INCLUDE_NULLSINK_H
|