]> code.delx.au - pulseaudio/commit
alsa-sink: take base volume into account when applying hw volume
authorJuho Hämäläinen <juho.hamalainen@tieto.com>
Thu, 25 Nov 2010 13:15:17 +0000 (15:15 +0200)
committerColin Guthrie <cguthrie@mandriva.org>
Wed, 1 Dec 2010 10:42:17 +0000 (10:42 +0000)
commit027786c6de08abcfb0e8702e59810e1f00977d68
tree51a23c10283b03a1c1d06e575535647fe51f7ac8
parent53f2294d16326688c1b7e21480a40afef6987868
alsa-sink: take base volume into account when applying hw volume

Currently if sink base volume differs from 0dB and sync-volume is used,
wrong volume values are written to hw. This patch fixes that.

Signed-off-by: Juho Hämäläinen <ext-juho.hamalainen@nokia.com>
src/modules/alsa/alsa-sink.c