[vlc-commits] libvlc_audio_get_mute(): return correct value
Rémi Denis-Courmont
git at videolan.org
Fri May 20 19:33:56 CEST 2011
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri May 20 15:37:36 2011 +0300| [a0a5cd5bab0f3cb9d8a477468576c28c71c1cbe7] | committer: Rémi Denis-Courmont
libvlc_audio_get_mute(): return correct value
(cherry picked from commit 8aa0cd827c9dea5266c3cdb2145564cd5b71b5f8)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=a0a5cd5bab0f3cb9d8a477468576c28c71c1cbe7
---
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 6a25022..edde5b7 100644
--- a/src/control/audio.c
+++ b/src/control/audio.c
@@ -312,7 +312,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