changeset 9043:1d75a7ecf3b8

Changing initial volume level to 0dB after loud intensive complaints
author anders
date Mon, 20 Jan 2003 10:46:32 +0000
parents c9b6b6f38d31
children 59b1bd7ccae1
files DOCS/sound.html libaf/af_volume.c
diffstat 2 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/sound.html	Mon Jan 20 03:11:51 2003 +0000
+++ b/DOCS/sound.html	Mon Jan 20 10:46:32 2003 +0000
@@ -421,7 +421,7 @@
 <DL>
   <DT><CODE>v &lt;-200 - +60&gt;</CODE></DT>
   <DD>is a floating point number between <CODE>-200</CODE> and <CODE>+60</CODE>
-    which represents the volume level in dB. The default level is -10dB.</DD>
+    which represents the volume level in dB. The default level is 0dB.</DD>
 
   <DT><CODE>c</CODE></DT>
   <DD>is a binary control that turns soft clipping on and off. Soft-clipping can
--- a/libaf/af_volume.c	Mon Jan 20 03:11:51 2003 +0000
+++ b/libaf/af_volume.c	Mon Jan 20 10:46:32 2003 +0000
@@ -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;
 }