Package javazoom.spi.vorbis.sampled.file
Class VorbisAudioFileFormat
- java.lang.Object
-
- javax.sound.sampled.AudioFileFormat
-
- org.tritonus.share.sampled.file.TAudioFileFormat
-
- javazoom.spi.vorbis.sampled.file.VorbisAudioFileFormat
-
public class VorbisAudioFileFormat extends org.tritonus.share.sampled.file.TAudioFileFormat
- Author:
- JavaZOOM
-
-
Constructor Summary
Constructors Constructor Description VorbisAudioFileFormat(javax.sound.sampled.AudioFileFormat.Type type, javax.sound.sampled.AudioFormat audioFormat, int nLengthInFrames, int nLengthInBytes, java.util.Map properties)
Contructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map
properties()
Ogg Vorbis audio file format parameters.
-
-
-
Constructor Detail
-
VorbisAudioFileFormat
public VorbisAudioFileFormat(javax.sound.sampled.AudioFileFormat.Type type, javax.sound.sampled.AudioFormat audioFormat, int nLengthInFrames, int nLengthInBytes, java.util.Map properties)
Contructor.- Parameters:
type
-audioFormat
-nLengthInFrames
-nLengthInBytes
-
-
-
Method Detail
-
properties
public java.util.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
- Overrides:
properties
in classorg.tritonus.share.sampled.file.TAudioFileFormat
-
-