code: def libvlc_audio_output_set(p_mi, psz_name):
      '''Selects an audio output module.
      @note: Any change will take be effect only after playback is stopped and
      restarted. Audio output cannot be changed while playing.
      @param p_mi: media player.
      @param psz_name: name of audio output, use psz_name of See L{AudioOutput}.
      @return: 0 if function succeded, -1 on error.
      '''
      f = _Cfunctions.get('libvlc_audio_output_set', None) or \
          _Cfunction('libvlc_audio_output_set', ((1,), (1,),), None,
                      ctypes.c_int, MediaPlayer, ctypes.c_char_p)
      return f(p_mi, psz_namef libvlc_audio_output_set(p_mi, psz_name):
      '''Selects an audio output module.
      @note: Any change will take be effect only after playback is stopped and
      restarted. Audio output cannot be changed while playing.
      @param p_mi: media player.
      @param psz_name: name of audio output, use psz_name of See L{AudioOutput}.
      @return: 0 if function succeded, -1 on error.
      '''
      f = _Cfunctions.get('libvlc_audio_output_set', None) or \
          _Cfunction('libvlc_audio_output_set', ((1,), (1,),), None,
                      ctypes.c_int, MediaPlayer, ctypes.c_char_p)
      return f(p_mi, psz_name)
docs: Selects an audio output module.
      @note: Any change will take be effect only after playback is stopped and
      restarted. Audio output cannot be changed while playing.
      @param p_mi: media player.
      @param psz_name: name of audio output, use psz_name of See L{AudioOutput}.
      @return: 0 if function succeded, -1 on error.