< prev index next >

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

Print this page

        

*** 20,29 **** --- 20,30 ---- * * 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,166 **** --- 155,169 ---- } 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,179 **** --- 173,183 ---- 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 >