12 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from .soapy import SoapyConnectorSource
 | |
| 
 | |
| 
 | |
| class RtlSdrSoapySource(SoapyConnectorSource):
 | |
|     def getSoapySettingsMappings(self):
 | |
|         mappings = super().getSoapySettingsMappings()
 | |
|         mappings.update({"direct_sampling": "direct_samp", "bias_tee": "bias_tee"})
 | |
|         return mappings
 | |
| 
 | |
|     def getDriver(self):
 | |
|         return "rtlsdr"
 | 
