org.gagravarr.vorbis
Class VorbisSetup

java.lang.Object
  extended by org.gagravarr.ogg.HighLevelOggStreamPacket
      extended by org.gagravarr.vorbis.VorbisPacket
          extended by org.gagravarr.vorbis.VorbisSetup

public class VorbisSetup
extends VorbisPacket

Includes extensive CODEC setup information as well as the complete VQ and Huffman codebooks needed for decode


Field Summary
 
Fields inherited from class org.gagravarr.vorbis.VorbisPacket
HEADER_LENGTH_AUDIO, HEADER_LENGTH_METADATA, TYPE_COMMENTS, TYPE_INFO, TYPE_SETUP
 
Constructor Summary
VorbisSetup()
           
VorbisSetup(OggPacket pkt)
           
 
Method Summary
protected  int getHeaderSize()
          How big is the header on this packet? For Metadata packets it's normally 7 bytes, otherwise for audio packets there is no header.
 int getNumberOfCodebooks()
           
 
Methods inherited from class org.gagravarr.vorbis.VorbisPacket
create, isVorbisStream, populateMetadataHeader
 
Methods inherited from class org.gagravarr.ogg.HighLevelOggStreamPacket
getData, getOggPacket, setData, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VorbisSetup

public VorbisSetup(OggPacket pkt)

VorbisSetup

public VorbisSetup()
Method Detail

getHeaderSize

protected int getHeaderSize()
Description copied from class: VorbisPacket
How big is the header on this packet? For Metadata packets it's normally 7 bytes, otherwise for audio packets there is no header.

Specified by:
getHeaderSize in class VorbisPacket

getNumberOfCodebooks

public int getNumberOfCodebooks()


Copyright © 2012. All Rights Reserved.