mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-03 21:20:31 -05:00 
			
		
		
		
	NFM demod: improve squelch tail elimination while keeping threshold close to the signal average
This commit is contained in:
		
							parent
							
								
									9eff950730
								
							
						
					
					
						commit
						94406bb122
					
				@ -172,7 +172,7 @@ void NFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVecto
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
				// AF processing
 | 
									// AF processing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				if (m_magsq > m_squelchLevel)
 | 
									if ((m_magsq > m_squelchLevel) && (m_magsqPeak > m_magsq/2.0f))
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					if (m_squelchCount < m_squelchGate)
 | 
										if (m_squelchCount < m_squelchGate)
 | 
				
			||||||
					{
 | 
										{
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user