summaryrefslogtreecommitdiffstats
path: root/libaf
diff options
context:
space:
mode:
authoranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-20 10:46:32 +0000
committeranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-20 10:46:32 +0000
commit1e282bf64bc5d63333c6973015109baeb8102488 (patch)
tree84812ab7c840178bee28c752a7bfee4be54fe336 /libaf
parent4447e2e1c8ac2b6b085e6a76cad39b774b7bde88 (diff)
downloadmpv-1e282bf64bc5d63333c6973015109baeb8102488.tar.bz2
mpv-1e282bf64bc5d63333c6973015109baeb8102488.tar.xz
Changing initial volume level to 0dB after loud intensive complaints
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9044 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf')
-rw-r--r--libaf/af_volume.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libaf/af_volume.c b/libaf/af_volume.c
index e0ad6d0faa..9468ade76a 100644
--- a/libaf/af_volume.c
+++ b/libaf/af_volume.c
@@ -208,13 +208,10 @@ static int open(af_instance_t* af){
af->setup=calloc(1,sizeof(af_volume_t));
if(af->data == NULL || af->setup == NULL)
return AF_ERROR;
- /* Enable volume control and set initial volume to 0.1 this is a
- safety measure to ensure that the user doesn't blow his
- speakers. If the user isn't happy with this he can use the
- command-line parameters to set the initial volume */
+ // Enable volume control and set initial volume to 0dB.
for(i=0;i<AF_NCH;i++){
((af_volume_t*)af->setup)->enable[i] = 1;
- ((af_volume_t*)af->setup)->level[i] = 0.1;
+ ((af_volume_t*)af->setup)->level[i] = 1.0;
}
return AF_OK;
}