org.tritonus.lowlevel.pvorbis
Class StaticCodebook

java.lang.Object
  extended by org.tritonus.lowlevel.pvorbis.StaticCodebook
All Implemented Interfaces:
VorbisConstants

public class StaticCodebook
extends java.lang.Object
implements VorbisConstants

Holds the static part of a codebook.


Field Summary
 
Fields inherited from interface org.tritonus.lowlevel.pvorbis.VorbisConstants
OV_EBADHEADER, OV_EBADLINK, OV_EBADPACKET, OV_EFAULT, OV_EIMPL, OV_EINVAL, OV_ENOSEEK, OV_ENOTAUDIO, OV_ENOTVORBIS, OV_EOF, OV_EREAD, OV_EVERSION, OV_FALSE, OV_HOLE
 
Constructor Summary
StaticCodebook()
           
 
Method Summary
 void clear()
           
 void init()
          Initializes the comment object.
 int pack(Buffer buffer)
           
 int unpack(Buffer buffer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticCodebook

public StaticCodebook()
Method Detail

clear

public void clear()

init

public void init()
Initializes the comment object. Sets the vendor string to null and removes all comments.


pack

public int pack(Buffer buffer)

unpack

public int unpack(Buffer buffer)