kopia lustrzana https://github.com/f4exb/sdrangel
				
				
				
			HackRF output plugin: resize sample FIFO to 500ms
							rodzic
							
								
									0ad22f3cd4
								
							
						
					
					
						commit
						f386fc86cb
					
				| 
						 | 
				
			
			@ -75,7 +75,7 @@ bool HackRFOutput::start(int device)
 | 
			
		|||
//		qCritical("HackRFInput::start: failed to initiate HackRF library %s", hackrf_error_name(rc));
 | 
			
		||||
//	}
 | 
			
		||||
 | 
			
		||||
    m_sampleSourceFifo.resize(m_settings.m_devSampleRate); // 1s long
 | 
			
		||||
    m_sampleSourceFifo.resize(m_settings.m_devSampleRate/2); // 500ms long
 | 
			
		||||
 | 
			
		||||
    if (m_deviceAPI->getSourceBuddies().size() > 0)
 | 
			
		||||
    {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,7 @@
 | 
			
		|||
#include "dsp/samplesourcefifo.h"
 | 
			
		||||
#include "dsp/interpolators.h"
 | 
			
		||||
 | 
			
		||||
#define HACKRF_BLOCKSIZE (1<<18)
 | 
			
		||||
#define HACKRF_BLOCKSIZE (1<<17)
 | 
			
		||||
 | 
			
		||||
class HackRFOutputThread : public QThread {
 | 
			
		||||
	Q_OBJECT
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue