Commit 9ded3498 authored by Antoine Cellerier's avatar Antoine Cellerier

kind of begin fixing the mute button (at least it doesn't diplay the

mute icon when sound isn't mute now). Rels #106
parent c08e2287
......@@ -1445,8 +1445,9 @@ void VLCVolCtrl::OnChange( wxMouseEvent& event )
{
int i_volume;
aout_VolumeMute( p_intf, (audio_volume_t *)&i_volume );
b_mute = !b_mute;
i_volume = (audio_volume_t)config_GetInt( p_intf, "volume" );
if( i_volume == 0 ) b_mute = 1;
else b_mute=0;
Refresh();
}
}
......
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