de.jarnbjo.vorbis
Class VorbisStream
java.lang.Object
de.jarnbjo.vorbis.VorbisStream
public class VorbisStream
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
VorbisStream
public VorbisStream()
VorbisStream
public VorbisStream(LogicalOggStream oggStream)
throws VorbisFormatException,
IOException
- Throws:
VorbisFormatException
IOException
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.