Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4903786
Votes 0
Synopsis MIDI OUT does not implement getMicrosecondPosition() consistently
Category java:classes_sound
Reported Against 1.5
Release Fixed 1.5(tiger)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 08-AUG-2003
Description
For MIDI OUT devices, the method javax.sound.midi.MidiDevice.getMicrosecondPosition() always returns -1. This is allowed by the specification (it means that this device doesn't provide timestamps). However, for MIDI IN devices, the same method returns useful timestamps. From the viewpoint of a user, it shouldn't matter if a device is in or out for just getting a timestamp. Therefore, the current behaviour is inconvenient.
Work Around
Use a MIDI IN device for timing
Evaluation
Indeed missing. Quite easy to fix, since the code for getting the timestamp itself is already available in the implementation of the MIDI IN devices.
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang