[Android] MediaPlayer: fix comments

Thomas Guillem git at videolan.org
Mon Jul 6 10:13:31 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jul  6 10:13:09 2015 +0200| [d4db2767f7d6321d6bf4173ba9cf912eca3787eb] | committer: Thomas Guillem

MediaPlayer: fix comments

(no need to release Equalizer)

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

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

diff --git a/libvlc/src/org/videolan/libvlc/MediaPlayer.java b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
index 8e04388..17062be 100644
--- a/libvlc/src/org/videolan/libvlc/MediaPlayer.java
+++ b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
@@ -200,9 +200,6 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
          * Create a new default equalizer, with all frequency values zeroed.
          * The new equalizer can subsequently be applied to a media player by invoking
          * {@link MediaPlayer#setEqualizer}.
-         *
-         * @return equalizer or NULL on error, should be released via {@link Equalizer#release()}
-         * when it's not needed anymore.
          */
         public static Equalizer create() {
             return new Equalizer();
@@ -213,9 +210,6 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
          * preset.
          * The new equalizer can subsequently be applied to a media player by invoking
          * {@link MediaPlayer#setEqualizer}.
-         *
-         * @return equalizer or NULL on error, should be released via {@link Equalizer#release()}
-         * when it's not needed anymore.
          */
         public static Equalizer createFromPreset(int index) {
             return new Equalizer(index);
@@ -612,7 +606,6 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
      *
      * To disable the equalizer for a media player invoke this method passing null.
      *
-     * @param equalizer can be released with {@link Equalizer#release()} after this call.
      * @return true on success.
      */
     public synchronized boolean setEqualizer(Equalizer equalizer) {



More information about the Android mailing list