de.jarnbjo.vorbis
Class VorbisStream

java.lang.Object
  extended by de.jarnbjo.vorbis.VorbisStream

public class VorbisStream
extends Object


Field Summary
static int BIG_ENDIAN
           
static int LITTLE_ENDIAN
           
 
Constructor Summary
VorbisStream()
           
VorbisStream(LogicalOggStream oggStream)
           
 
Method Summary
 void close()
           
 CommentHeader getCommentHeader()
           
 int getCurrentBitRate()
           
 long getCurrentGranulePosition()
           
 IdentificationHeader getIdentificationHeader()
           
protected  de.jarnbjo.vorbis.SetupHeader getSetupHeader()
           
 boolean isOpen()
           
 byte[] processPacket(byte[] packet)
           
 int readPcm(byte[] buffer, int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BIG_ENDIAN

public static final int BIG_ENDIAN
See Also:
Constant Field Values

LITTLE_ENDIAN

public static final int LITTLE_ENDIAN
See Also:
Constant Field Values
Constructor Detail

VorbisStream

public VorbisStream()

VorbisStream

public VorbisStream(LogicalOggStream oggStream)
             throws VorbisFormatException,
                    IOException
Throws:
VorbisFormatException
IOException
Method Detail

getIdentificationHeader

public IdentificationHeader getIdentificationHeader()

getCommentHeader

public CommentHeader getCommentHeader()

getSetupHeader

protected de.jarnbjo.vorbis.SetupHeader getSetupHeader()

isOpen

public boolean isOpen()

close

public void close()
           throws IOException
Throws:
IOException

readPcm

public int readPcm(byte[] buffer,
                   int offset,
                   int length)
            throws IOException
Throws:
IOException

getCurrentGranulePosition

public long getCurrentGranulePosition()

getCurrentBitRate

public int getCurrentBitRate()

processPacket

public byte[] processPacket(byte[] packet)
                     throws VorbisFormatException,
                            IOException
Throws:
VorbisFormatException
IOException


Copyright © 2007-2011 shredzone.org. All Rights Reserved.