< prev index next >
src/java.desktop/share/classes/com/sun/media/sound/MidiUtils.java
Print this page
*** 248,258 ****
/**
* Binary search for the event indexes of the track
*
! * @param tick - tick number of index to be found in array
* @return index in track which is on or after "tick".
* if no entries are found that follow after tick, track.size() is returned
*/
public static int tick2index(Track track, long tick) {
int ret = 0;
--- 248,258 ----
/**
* Binary search for the event indexes of the track
*
! * @param tick tick number of index to be found in array
* @return index in track which is on or after "tick".
* if no entries are found that follow after tick, track.size() is returned
*/
public static int tick2index(Track track, long tick) {
int ret = 0;
< prev index next >