JDK-5029171 : Linux: Clip.setFramePosition fails in stopped state
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2004-04-08
  • Updated: 2004-04-22
  • Resolved: 2004-04-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 b48Fixed
Description

Name: fb126949			Date: 04/08/2004


On Linux, with a DirectAudio Clip, setting the frame position with SetFramePosition() will not change the value returned by getFramePosition(). This happens only if the Clip is currently not playing.

It could be argued that setFramePosition should not modify the value returned by getFramePosition(), since the latter is specified to return the number of frames rendered since opening the device. However, it is only intuitive that setting the frame position will also reset that value.

This bug causes test050 to fail.

======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta2 FIXED IN: tiger-beta2 INTEGRATED IN: tiger-b48 tiger-beta2
14-06-2004

PUBLIC COMMENTS Should be fixed for tiger-beta2.
10-06-2004

EVALUATION Should be fixed for tiger-beta2. Fix is trivial by updating the bytePosition field in setFramePosition. ###@###.### 2004-04-08
08-04-2004