[Mplayer-cvslog] CVS: main/libaf af_volume.c,1.9,1.10

Anders Johansson CVS anders at mplayerhq.hu
Mon Jan 20 11:46:34 CET 2003


Update of /cvsroot/mplayer/main/libaf
In directory mail:/var/tmp.root/cvs-serv17628/libaf

Modified Files:
	af_volume.c 
Log Message:
Changing initial volume level to 0dB after loud intensive complaints

Index: af_volume.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af_volume.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- af_volume.c	10 Jan 2003 01:45:34 -0000	1.9
+++ af_volume.c	20 Jan 2003 10:46:18 -0000	1.10
@@ -208,13 +208,10 @@
   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;
 }



More information about the MPlayer-cvslog mailing list