[vlc-commits] aout: fix default volume
Rémi Denis-Courmont
git at videolan.org
Thu Jul 21 16:50:58 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 21 16:45:59 2011 +0300| [1432486eec39977ba3021222685a21749c49f6ed] | committer: Rémi Denis-Courmont
aout: fix default volume
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1432486eec39977ba3021222685a21749c49f6ed
---
src/audio_output/intf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/audio_output/intf.c b/src/audio_output/intf.c
index 590c2e8..3891b4e 100644
--- a/src/audio_output/intf.c
+++ b/src/audio_output/intf.c
@@ -256,7 +256,7 @@ void aout_VolumeSoftInit (aout_instance_t *aout)
bool mute = var_InheritBool (aout, "mute");
aout->output.pf_volume_set = aout_VolumeSoftSet;
- aout_VolumeSoftSet (aout, volume, mute);
+ aout_VolumeSoftSet (aout, volume / (float)AOUT_VOLUME_DEFAULT, mute);
}
More information about the vlc-commits
mailing list