[Java Sound] SourceDataLine.getMicroSecondsPosition() gets MilliSeconds

Bug #740485 reported by Martin Braun
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenJDK
New
Undecided
Unassigned
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello there,

I am using Ubuntu 10.10 AMD64 on a 2.6.35-27-generic Kernel. I am currently writing my own mediaplayer in Java and it seems that there is a bug in the method getMicroSecondsPosition() Method from SourceDataLine. Instead of returning a microsecond value it returns milliseconds. This happened under jdk-1.6, I can't say if that problem was there before but it is there in the current release. I hope you can fix this as fast as possible.

Martin Braun

Revision history for this message
Martin Braun (compuplace) wrote :

I forgot to mention that I am using mp3spi and I don't know if that affects this bug. But with the Sun implementation (javax.sound.sampled.SourceDataLine=com.sun.media.sound.DirectAudioDeviceProvider) of the Mixers (I changed it in the sound.properties) there is a Microsecond value returned.

Revision history for this message
Martin Braun (compuplace) wrote :

No one answering?

Revision history for this message
Martin Braun (compuplace) wrote :

Would some Sourcecode be helping? But I think this is a general problem with Java Sound under OpenJDK.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.