diff --git a/DOCS/sound.html b/DOCS/sound.html index d46e151fc5..6196c8431d 100644 --- a/DOCS/sound.html +++ b/DOCS/sound.html @@ -421,7 +421,7 @@
v <-200 - +60>
is a floating point number between -200 and +60 - which represents the volume level in dB. The default level is -10dB.
+ which represents the volume level in dB. The default level is 0dB.
c
is a binary control that turns soft clipping on and off. Soft-clipping can 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;isetup)->enable[i] = 1; - ((af_volume_t*)af->setup)->level[i] = 0.1; + ((af_volume_t*)af->setup)->level[i] = 1.0; } return AF_OK; }