[Android] MediaPlayer: add comments

Thomas Guillem git at videolan.org
Wed Jul 8 11:08:30 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jul  7 18:17:17 2015 +0200| [57d3ebf5cf919db03293e00d4e67b1cb26f88383] | committer: Thomas Guillem

MediaPlayer: add comments

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=57d3ebf5cf919db03293e00d4e67b1cb26f88383
---

 libvlc/src/org/videolan/libvlc/MediaPlayer.java |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libvlc/src/org/videolan/libvlc/MediaPlayer.java b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
index 4945eea..4ac4161 100644
--- a/libvlc/src/org/videolan/libvlc/MediaPlayer.java
+++ b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
@@ -435,6 +435,13 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
         nativeSetVideoTitleDisplay(position, timeout);
     }
 
+    /**
+     * Selects an audio output module.
+     * Any change will take effect only after playback is stopped and
+     * restarted. Audio output cannot be changed while playing.
+     *
+     * @return true on success.
+     */
     public synchronized boolean setAudioOutput(String aout) {
         return nativeSetAudioOutput(aout);
     }



More information about the Android mailing list