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

libvlc_audio_get_mute(): return correct value

(cherry picked from commit 8aa0cd827c9dea5266c3cdb2145564cd5b71b5f8)
parent 431854af
...@@ -312,7 +312,7 @@ void libvlc_audio_toggle_mute( libvlc_media_player_t *mp ) ...@@ -312,7 +312,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