[vlc-commits] libvlc_audio_get_mute(): return correct value
Rémi Denis-Courmont
git at videolan.org
Fri May 20 19:30:06 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri May 20 15:37:36 2011 +0300| [8aa0cd827c9dea5266c3cdb2145564cd5b71b5f8] | committer: Rémi Denis-Courmont
libvlc_audio_get_mute(): return correct value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8aa0cd827c9dea5266c3cdb2145564cd5b71b5f8
---
src/control/audio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/control/audio.c b/src/control/audio.c
index 0d5aa1b..d39de60 100644
--- a/src/control/audio.c
+++ b/src/control/audio.c
@@ -313,7 +313,7 @@ void libvlc_audio_toggle_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 )
More information about the vlc-commits
mailing list