JDK-4666845 : RFE: Add properties to AudioFileFormat, and MidiFileFormat
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 1.4.1
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2002-04-11
  • Updated: 2017-05-16
  • Resolved: 2003-10-24
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 Availabitlity Release.

To download the current JDK release, click here.
5.0 b26Fixed
Related Reports
Relates :  
Name: fb126949			Date: 04/11/2002

This RFE proposes the following methods to be added:

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"
It is up to the implementor to properly document the keys and their values.

The same applies to MidiFileFormat.


CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-b26 tiger-beta

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).

PUBLIC COMMENTS Add properties to AudioFormat, and AudioFileFormat