-
Enhancement
-
Resolution: Fixed
-
P3
-
5.0
-
b26
-
generic
-
generic
Name: fb126949 Date: 09/20/2003
This RFE is a follow-up to 4666845: Add Properties to AudioFileFormat and MidiFileFormat
The following methods should be added to AudioFormat:
public AudioFormat(Encoding encoding, float sampleRate,
int sampleSizeInBits, int channels,
int frameSize, float frameRate,
boolean bigEndian, Map<String, Object> properties);
Map<String,Object> AudioFormat.properties()
Object AudioFormat.getProperty(String key)
The current AudioFormat class makes it impossible to account for non-trivial formats, like MPEG-I layer 3 (mp3), which has more format qualifiers than the ones provided by AudioFormat. So, as an example, an mp3 file might include these properties:
key="quality", value=Integer(5)
key="bitrate", value=Integer(128)
key="VBR", value=Boolean(false)
etc.
It is up to the implementor to properly document the keys and their values.
======================================================================
This RFE is a follow-up to 4666845: Add Properties to AudioFileFormat and MidiFileFormat
The following methods should be added to AudioFormat:
public AudioFormat(Encoding encoding, float sampleRate,
int sampleSizeInBits, int channels,
int frameSize, float frameRate,
boolean bigEndian, Map<String, Object> properties);
Map<String,Object> AudioFormat.properties()
Object AudioFormat.getProperty(String key)
The current AudioFormat class makes it impossible to account for non-trivial formats, like MPEG-I layer 3 (mp3), which has more format qualifiers than the ones provided by AudioFormat. So, as an example, an mp3 file might include these properties:
key="quality", value=Integer(5)
key="bitrate", value=Integer(128)
key="VBR", value=Boolean(false)
etc.
It is up to the implementor to properly document the keys and their values.
======================================================================
- relates to
-
JDK-4666845 RFE: Add properties to AudioFileFormat, and MidiFileFormat
-
- Resolved
-