code: def libvlc_audio_set_volume(p_mi, i_volume):
      '''Set current software audio volume.
      @param p_mi: media player.
      @param i_volume: the volume in percents (0 = mute, 100 = 0dB).
      @return: 0 if the volume was set, -1 if it was out of range.
      '''
      f = _Cfunctions.get('libvlc_audio_set_volume', None) or \
          _Cfunction('libvlc_audio_set_volume', ((1,), (1,),), None,
                      ctypes.c_int, MediaPlayer, ctypes.c_int)
      return f(p_mi, i_volumef libvlc_audio_set_volume(p_mi, i_volume):
      '''Set current software audio volume.
      @param p_mi: media player.
      @param i_volume: the volume in percents (0 = mute, 100 = 0dB).
      @return: 0 if the volume was set, -1 if it was out of range.
      '''
      f = _Cfunctions.get('libvlc_audio_set_volume', None) or \
          _Cfunction('libvlc_audio_set_volume', ((1,), (1,),), None,
                      ctypes.c_int, MediaPlayer, ctypes.c_int)
      return f(p_mi, i_volume)
docs: Set current software audio volume.
      @param p_mi: media player.
      @param i_volume: the volume in percents (0 = mute, 100 = 0dB).
      @return: 0 if the volume was set, -1 if it was out of range.