mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
volume: increase dB range to -90dB
Increasing the volume range to -90dB has the benefit of corresponding with a volume decrease from the full 16 bit signal to 0. This also makes us a bit more like traditional stereos
This commit is contained in:
parent
0ac038e591
commit
237a9e12f8
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ pa_volume_t pa_sw_volume_divide(pa_volume_t a, pa_volume_t b) {
|
|||
return pa_sw_volume_from_linear(pa_sw_volume_to_linear(a) / v);
|
||||
}
|
||||
|
||||
#define USER_DECIBEL_RANGE 60
|
||||
#define USER_DECIBEL_RANGE 90
|
||||
|
||||
pa_volume_t pa_sw_volume_from_dB(double dB) {
|
||||
if (isinf(dB) < 0 || dB <= -USER_DECIBEL_RANGE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue