javazoom.spi.vorbis.sampled.file

Class VorbisAudioFileFormat


public class VorbisAudioFileFormat
extends TAudioFileFormat

Author:
JavaZOOM

Constructor Summary

VorbisAudioFileFormat(Type type, AudioFormat audioFormat, int nLengthInFrames, int nLengthInBytes, Map properties)
Contructor.

Method Summary

Map
properties()
Ogg Vorbis audio file format parameters.

Constructor Details

VorbisAudioFileFormat

public VorbisAudioFileFormat(Type type,
                             AudioFormat audioFormat,
                             int nLengthInFrames,
                             int nLengthInBytes,
                             Map properties)
Contructor.
Parameters:
type -
audioFormat -
nLengthInFrames -
nLengthInBytes -

Method Details

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-2005