javazoom.spi.vorbis.sampled.file
Class VorbisAudioFileFormat
TAudioFileFormat
javazoom.spi.vorbis.sampled.file.VorbisAudioFileFormat
public class VorbisAudioFileFormat
extends TAudioFileFormat
VorbisAudioFileFormat(Type type, AudioFormat audioFormat, int nLengthInFrames, int nLengthInBytes, Map properties) - Contructor.
|
Map | properties() - Ogg Vorbis audio file format parameters.
|
VorbisAudioFileFormat
public VorbisAudioFileFormat(Type type,
AudioFormat audioFormat,
int nLengthInFrames,
int nLengthInBytes,
Map properties)
Contructor.
type
- audioFormat
- nLengthInFrames
- nLengthInBytes
-
properties
public Map properties()
Ogg Vorbis audio file format parameters.
Some parameters might be unavailable. So availability test is required before reading any parameter.
AudioFileFormat parameters.
- duration [Long], duration in microseconds.
- title [String], Title of the stream.
- author [String], Name of the artist of the stream.
- album [String], Name of the album of the stream.
- date [String], The date (year) of the recording or release of the stream.
- copyright [String], Copyright message of the stream.
- comment [String], Comment of the stream.
Ogg Vorbis parameters.
- ogg.length.bytes [Integer], length in bytes.
- ogg.bitrate.min.bps [Integer], minimum bitrate.
- ogg.bitrate.nominal.bps [Integer], nominal bitrate.
- ogg.bitrate.max.bps [Integer], maximum bitrate.
- ogg.channels [Integer], number of channels 1 : mono, 2 : stereo.
- ogg.frequency.hz [Integer], sampling rate in hz.
- ogg.version [Integer], version.
- ogg.serial [Integer], serial number.
- ogg.comment.track [String], track number.
- ogg.comment.genre [String], genre field.
- ogg.comment.encodedby [String], encoded by field.
- ogg.comment.ext [String], extended comments (indexed):
For instance :
ogg.comment.ext.1=Something
ogg.comment.ext.2=Another comment
JavaZOOM 1999-2007