xine: Initialise volume to 1.
authorColin Guthrie <cguthrie@mandriva.org>
Sat, 24 Apr 2010 13:25:31 +0000 (14:25 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Sat, 24 Apr 2010 13:25:31 +0000 (14:25 +0100)
commitb44f19d7038f7e6182db4d29aee39dab569193fd
treec2a78bb3b9fad604b87a1a4e7b8a299f815fc6d9
parent230dfeb2c7fe7cdbd16ef06407bd448fdfd17546
xine: Initialise volume to 1.

When PulseAudio is used, it's essential that the internal representation
of the volume remains at the maxium. Xine will use this to set the initial volume.

Thankfully, xine's PulseAudio output does not seem to use per-application volume control
as otherwise this 100% would be passed on an prevent PA from saving
volumes properly.

Currently, however one more problem remains with Xine+PA+volume
in that the standard volume widget does not seem to be hooked up
correctly. I'll look at this problem next.
BUG: 235193
xine/audiooutput.cpp