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

libvlc_audio_get_mute(): return correct value

parent 48235174
...@@ -313,7 +313,7 @@ void libvlc_audio_toggle_mute( libvlc_media_player_t *mp ) ...@@ -313,7 +313,7 @@ void libvlc_audio_toggle_mute( libvlc_media_player_t *mp )
int libvlc_audio_get_mute( libvlc_media_player_t *mp ) int libvlc_audio_get_mute( libvlc_media_player_t *mp )
{ {
return (libvlc_audio_get_volume(mp) == 0); return aout_IsMuted( VLC_OBJECT(mp) );
} }
void libvlc_audio_set_mute( libvlc_media_player_t *mp, int mute ) void libvlc_audio_set_mute( libvlc_media_player_t *mp, int mute )
......
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