Commit 02a2074e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

file aout: do not apply volume (refs #6262)

In my opinion, amplifying the audio that gets recorded to a file may do
more harm than good. Indeed, there is no direct feedback to detect and
correct saturation or distortion.
parent da65be43
...@@ -193,10 +193,8 @@ static int Open( vlc_object_t * p_this ) ...@@ -193,10 +193,8 @@ static int Open( vlc_object_t * p_this )
{ {
p_aout->format.i_bytes_per_frame = AOUT_SPDIF_SIZE; p_aout->format.i_bytes_per_frame = AOUT_SPDIF_SIZE;
p_aout->format.i_frame_length = A52_FRAME_NB; p_aout->format.i_frame_length = A52_FRAME_NB;
aout_VolumeNoneInit( p_aout );
} }
else aout_VolumeNoneInit( p_aout );
aout_VolumeSoftInit( p_aout );
/* Channels number */ /* Channels number */
i_channels = var_CreateGetInteger( p_this, "audiofile-channels" ); i_channels = var_CreateGetInteger( p_this, "audiofile-channels" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment