You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
490 B
21 lines
490 B
#ifndef INCLUDE_SAMPLESINK_H |
|
#define INCLUDE_SAMPLESINK_H |
|
|
|
#include <QObject> |
|
#include "dsptypes.h" |
|
#include "util/export.h" |
|
|
|
class Message; |
|
|
|
class SDRANGELOVE_API SampleSink : public QObject { |
|
public: |
|
SampleSink(); |
|
virtual ~SampleSink(); |
|
|
|
virtual void feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool firstOfBurst) = 0; |
|
virtual void start() = 0; |
|
virtual void stop() = 0; |
|
virtual bool handleMessage(Message* cmd) = 0; |
|
}; |
|
|
|
#endif // INCLUDE_SAMPLESINK_H
|
|
|