mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
Various little cleanups, many of them from a clang static analysis
This commit is contained in:
@@ -75,7 +75,7 @@ SPAN_DECLARE(int16_t) noise(noise_state_t *s)
|
||||
simple approx. leaves the signal about 0.35dB low. */
|
||||
val = s->state << 1;
|
||||
}
|
||||
return saturate((val*s->rms) >> 10);
|
||||
return saturate16((val*s->rms) >> 10);
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
|
Reference in New Issue
Block a user