United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4666845 RFE: Add properties to AudioFileFormat, and MidiFileFormat
JDK-4666845 : RFE: Add properties to AudioFileFormat, and MidiFileFormat

Details
Type:
Enhancement
Submit Date:
2002-04-11
Status:
Resolved
Updated Date:
2003-10-24
Project Name:
JDK
Resolved Date:
2003-10-24
Component:
client-libs
OS:
generic
Sub-Component:
javax.sound
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.1
Fixed Versions:
5.0 (b26)

Related Reports
Relates:

Sub Tasks

Description
Name: fb126949			Date: 04/11/2002


This RFE proposes the following methods to be added:

Methods:
Map<String,Object> AudioFileFormat.properties()
Object AudioFileFormat.getProperty(String key)


The current AudioFileFormat class makes it impossible to account for meta data included in audio files, e.g. the ID3 tag in mp3 files or the LIST chunk in WAVE files. So, as an example, an mp3 file's AudioFileFormat might include these properties:
key="auhor", value="Florian Bomers"
key="title", value="My Life"
etc.
It is up to the implementor to properly document the keys and their values.

The same applies to MidiFileFormat.

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

                                    

Comments
PUBLIC COMMENTS

Add properties to AudioFormat, and AudioFileFormat
                                     
2004-06-10
EVALUATION

###@###.### 2002-04-25
	These 3 methods will enable a lot of new possibilities with the Java Sound API, i.e. much easier and nicer support for plugins that extract audio data (ripping), multi-channel audio, mp3 playback and encoding. It is also enabling a platform-independent implementation of Digital Rights Management systems, and quality of service for media players.


###@###.### 2003-01-27
	Should be discussed if the setProperty() is a good idea, since AudioFormat and AudioFileFormat are immutable otherwise. 2 solutions for keeping them immutable:
1) make setProperty() a protected method
2) add a new constructor with an additional properties parameter



###@###.### 2003-09-20
	Split this RFE up: this RFE handles AudioFileFormat and MidiFileFormat (for meta data-type of properties). RFE 4925767: "Add Properties to AudioFormat" handles the properties for AudioFormat (format-qualifying properties).
                                     
2004-06-11
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger
tiger-beta

FIXED IN:
tiger-beta

INTEGRATED IN:
tiger-b26
tiger-beta


                                     
2004-06-14



Hardware and Software, Engineered to Work Together