< prev index next >

modules/javafx.media/src/main/java/com/sun/media/jfxmedia/track/AudioTrack.java

Print this page
rev 10044 : 8166230: use @Native annotation in graphics, media classes
Reviewed-by: kcr

@@ -23,10 +23,11 @@
  * questions.
  */
 
 package com.sun.media.jfxmedia.track;
 
+import java.lang.annotation.Native;
 import java.util.Locale;
 import com.sun.media.jfxmedia.Media;
 
 /**
  * A class representing an audio track in a media.

@@ -36,41 +37,41 @@
 public class AudioTrack extends Track {
 
     /**
      * Channel mask bit indicating the absence of any channel
      */
-    public static final int UNKNOWN         = 0;
+    @Native public static final int UNKNOWN         = 0;
 
     /**
      * Channel mask bit indicating the presence of a front left channel.
      */
-    public static final int FRONT_LEFT      = 0x01;
+    @Native public static final int FRONT_LEFT      = 0x01;
 
     /**
      * Channel mask bit indicating the presence of a front right channel.
      */
-    public static final int FRONT_RIGHT     = 0x02;
+    @Native public static final int FRONT_RIGHT     = 0x02;
 
     /**
      * Channel mask bit indicating the presence of a front center channel.
      */
-    public static final int FRONT_CENTER    = 0x04;
+    @Native public static final int FRONT_CENTER    = 0x04;
 
     /**
      * Channel mask bit indicating the presence of a rear left channel.
      */
-    public static final int REAR_LEFT       = 0x08;
+    @Native public static final int REAR_LEFT       = 0x08;
 
     /**
      * Channel mask bit indicating the presence of a rear right channel.
      */
-    public static final int REAR_RIGHT      = 0x10;
+    @Native public static final int REAR_RIGHT      = 0x10;
 
     /**
      * Channel mask bit indicating the presence of a rear center channel.
      */
-    public static final int REAR_CENTER     = 0x20;
+    @Native public static final int REAR_CENTER     = 0x20;
 
     private int    numChannels;
     private int    channelMask;
     private float  encodedSampleRate;
 
< prev index next >