diff options
author | Tanu Kaskinen <tanu.kaskinen@digia.com> | 2011-03-11 13:41:28 +0200 |
---|---|---|
committer | Tanu Kaskinen <tanu.kaskinen@digia.com> | 2011-03-11 13:41:28 +0200 |
commit | 5715b2af3091f9be9a656dfa9b8cb778caf1c03e (patch) | |
tree | 402316370dbb59220a5513517074df17aa21d96b /src/modules/raop | |
parent | 064780d9dea6a79c4c3adb07f530e2e6d5c68c0f (diff) |
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/modules/raop')
0 files changed, 0 insertions, 0 deletions