1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-21 07:24:15 +02:00

dummy: fix volume callbacks

Amplifying dummy is useless. Also amplifying S/PDIF is not possible.
This commit is contained in:
Rémi Denis-Courmont 2012-07-19 17:43:40 +03:00
parent ef43416ee9
commit 99693981a3

View File

@ -61,7 +61,8 @@ static int Open( vlc_object_t * p_this )
p_aout->pf_play = Play;
p_aout->pf_pause = NULL;
p_aout->pf_flush = NULL;
aout_VolumeSoftInit( p_aout );
p_aout->volume_set = NULL;
p_aout->mute_set = NULL;
if( AOUT_FMT_SPDIF( &p_aout->format )
&& var_InheritBool( p_this, "spdif" ) )