Ticket #1195 (closed patch: fixed)

Opened 1 year ago

Last modified 1 year ago

python binding's 'vlcInstance_audio_set_volume' calls 'libvlc_audio_set_mute'

Reported by: jjdmol Assigned to: oaubert
Priority: low Milestone:
Component: Bindings Version: master
Severity: normal Keywords:
Cc: Platform(s): all
Difficulty: easy Work status: Not started

Description

vlcInstance_audio_set_volume should of course redirect to libvlc_audio_set_volume:

Index: bindings/python/vlc_instance.c
===================================================================
--- bindings/python/vlc_instance.c      (revision 20122)
+++ bindings/python/vlc_instance.c      (working copy)
@@ -428,7 +428,7 @@
         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;

Change History

05/16/07 17:23:22 changed by jb

  • owner set to littlejohn.

05/16/07 17:23:45 changed by jb

  • owner changed from littlejohn to oaubert.

05/16/07 23:35:54 changed by oaubert

  • status changed from new to closed.
  • resolution set to fixed.

(In [20144]) bindings/python/vlc_instance.c: fix audio_set_volume method, closes #1195