mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -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
 |