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

dummy: fix volume callbacks

Amplifying dummy is useless. Also amplifying S/PDIF is not possible.
parent ef43416e
...@@ -61,7 +61,8 @@ static int Open( vlc_object_t * p_this ) ...@@ -61,7 +61,8 @@ static int Open( vlc_object_t * p_this )
p_aout->pf_play = Play; p_aout->pf_play = Play;
p_aout->pf_pause = NULL; p_aout->pf_pause = NULL;
p_aout->pf_flush = 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 ) if( AOUT_FMT_SPDIF( &p_aout->format )
&& var_InheritBool( p_this, "spdif" ) ) && var_InheritBool( p_this, "spdif" ) )
......
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