United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4912739 : SPEC: DataLine.Info.getFormats() should document NOT_SPECIFIED

Details
Type:
Bug
Submit Date:
2003-08-26
Status:
Resolved
Updated Date:
2003-11-07
Project Name:
JDK
Resolved Date:
2003-11-07
Component:
client-libs
OS:
generic
Sub-Component:
javax.sound
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
5.0 (b28)

Related Reports

Sub Tasks

Description
Name: fb126949			Date: 08/26/2003


DataLine.Info.getFormats() returns an array of audio formats that are supported by the data line. However, some lines support a very wide range or any value for some parameters of the audio format, like lines that support any sample rate from 10Hz to 200KHz. In such cases, the current implementation sets the respective parameter (and the dependent parameters, if any) to AudioSystem.NOT_SPECIFIED. 

The method's documentation should mention that fields in the audio format may be set to NOT_SPECIFIED and what it means.

In the long run, a consistent concept for specifying ranges should be added to the Java Sound API.


======================================================================
###@###.### 2003-11-03
checked in fix

                                    

Comments
EVALUATION

###@###.### 2003-08-26
	Fixing this helps reducing the confusion among developers where and when AudioSystem.NOT_SPECIFIED can be used.
                                     
2003-08-26
PUBLIC COMMENTS

ataLine.Info.getFormats() should document NOT_SPECIFIED
                                     
2004-06-10
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger
tiger-beta

FIXED IN:
tiger-beta

INTEGRATED IN:
tiger-b28
tiger-beta


                                     
2004-06-14



Hardware and Software, Engineered to Work Together