mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-03 21:20:31 -05:00 
			
		
		
		
	Add additional type rsion.
This commit is contained in:
		
							parent
							
								
									8bf1a2f803
								
							
						
					
					
						commit
						5ff0b74b43
					
				@ -209,6 +209,11 @@ private:
 | 
			
		||||
        return data;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    qint16 conv(FixReal data) const
 | 
			
		||||
    {
 | 
			
		||||
        return data; // FIXME:
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    qint16 conv(float data) const
 | 
			
		||||
    {
 | 
			
		||||
        return (qint16)(data * SDR_RX_SCALEF);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user