← Back to team overview

openjdk team mailing list archive

[Bug 740485] Re: [Java Sound] SourceDataLine.getMicroSecondsPosition() gets MilliSeconds

 

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.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/740485

Title:
  [Java Sound] SourceDataLine.getMicroSecondsPosition() gets
  MilliSeconds

Status in “openjdk-6” package in Ubuntu:
  New

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



References