< prev index next >

src/java.desktop/share/classes/com/sun/media/sound/ModelStandardIndexedDirector.java

Print this page

        

@@ -20,10 +20,11 @@
  *
  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package com.sun.media.sound;
 
 import java.util.Arrays;
 
 /**

@@ -154,13 +155,15 @@
             }
             ix++;
         }
     }
 
+    @Override
     public void close() {
     }
 
+    @Override
     public void noteOff(int noteNumber, int velocity) {
         if (!noteOffUsed)
             return;
         int[] plist = lookupIndex(noteNumber, velocity);
         if(plist == null) return;

@@ -170,10 +173,11 @@
                 player.play(i, null);
             }
         }
     }
 
+    @Override
     public void noteOn(int noteNumber, int velocity) {
         if (!noteOnUsed)
             return;
         int[] plist = lookupIndex(noteNumber, velocity);
         if(plist == null) return;
< prev index next >