|author||Tanu Kaskinen <email@example.com>||2011-03-11 13:41:28 +0200|
|committer||Tanu Kaskinen <firstname.lastname@example.org>||2011-03-11 13:41:28 +0200|
alsa-mixer: When figuring out the max_dB of a path, use only channels that are used by the path elements.
Without this, p->max_dB could never be less than 0 dB, because the loop at the end of pa_alsa_path_probe() would reset p->max_dB to 0 as soon as the loop encountered a channel that wasn't touched by any element. There was a similar issue for p->min_dB too (it could never be more than 0 dB), which is also fixed by this patch.
Diffstat (limited to 'src/pulsecore/ipacl.c')
0 files changed, 0 insertions, 0 deletions