de.jarnbjo.flac
Class FlacStream

java.lang.Object
  extended byde.jarnbjo.flac.FlacStream

public class FlacStream
extends java.lang.Object


Constructor Summary
FlacStream()
           
FlacStream(LogicalOggStream oggStream)
           
 
Method Summary
 Frame getNextFrame()
           
 StreamInfo getStreamInfo()
           
 VorbisComment getVorbisComment()
           
 byte[] processPacket(byte[] packet)
           
 int readPcm(byte[] buffer, int offset, int length)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlacStream

public FlacStream()

FlacStream

public FlacStream(LogicalOggStream oggStream)
           throws FlacFormatException,
                  java.io.IOException
Method Detail

getNextFrame

public Frame getNextFrame()
                   throws FlacFormatException,
                          java.io.IOException
Throws:
FlacFormatException
java.io.IOException

readPcm

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

getStreamInfo

public StreamInfo getStreamInfo()

getVorbisComment

public VorbisComment getVorbisComment()

processPacket

public byte[] processPacket(byte[] packet)
                     throws FlacFormatException,
                            java.io.IOException
Throws:
FlacFormatException
java.io.IOException