mirror of
				https://github.com/AlexandreRouma/SDRPlusPlus.git
				synced 2025-10-31 00:48:11 +01:00 
			
		
		
		
	Merge branch 'AlexandreRouma:master' into patch-1
This commit is contained in:
		| @@ -131,12 +131,15 @@ namespace dsp { | ||||
|  | ||||
|             level = pow(10, ((10.0f * log10f(level)) - (_CorrectedFallRate * count)) / 10.0f); | ||||
|  | ||||
|             if (level < 10e-14) { level = 10e-14; } | ||||
|  | ||||
|             float absVal; | ||||
|             for (int i = 0; i < count; i++) { | ||||
|                 absVal = fabsf(_in->readBuf[i]); | ||||
|                 if (absVal > level) { level = absVal; } | ||||
|             } | ||||
|  | ||||
|  | ||||
|             volk_32f_s32f_multiply_32f(out.writeBuf, _in->readBuf, 1.0f / level, count); | ||||
|  | ||||
|             _in->flush(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user