bindings/python/vlc_instance.c: fix audio_set_volume method, closes #1195
authorOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Wed, 16 May 2007 21:35:54 +0000 (21:35 +0000)
committerOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Wed, 16 May 2007 21:35:54 +0000 (21:35 +0000)
bindings/python/vlc_instance.c

index e3d6f1d..7bdd731 100644 (file)
@@ -428,7 +428,7 @@ vlcInstance_audio_set_volume( PyObject *self, PyObject *args )
         return NULL;
 
     LIBVLC_TRY;
-    libvlc_audio_set_mute( LIBVLC_INSTANCE->p_instance, i_volume, &ex );
+    libvlc_audio_set_volume( LIBVLC_INSTANCE->p_instance, i_volume, &ex );
     LIBVLC_EXCEPT;
     Py_INCREF( Py_None );
     return Py_None;