Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37066353 authored by Antti S. Lankila's avatar Antti S. Lankila
Browse files

Fix some shortcomings of the audio level estimation

Use crude approximation of the equal loudness curves (a single 2nd
order bandpass at 1 kHz). Because we must be stateless, the filter
is always reset first, which somewhat damages the behavior.

Limit adjustment range to 30 dB to avoid problems when sound goes
very quiet.

Make ramp up fast and ramp down slow. This gives reasonable response
to transients between periods of silence.
parent 3d36f900
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment