Class VorbisStream

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

public class VorbisStream
extends java.lang.Object
  • Field Details

  • Constructor Details

  • Method Details

    • getIdentificationHeader

      public IdentificationHeader getIdentificationHeader()
    • getCommentHeader

      public CommentHeader getCommentHeader()
    • getSetupHeader

      protected de.jarnbjo.vorbis.SetupHeader getSetupHeader()
    • isOpen

      public boolean isOpen()
    • close

      public void close() throws java.io.IOException
      Throws:
      java.io.IOException
    • readPcm

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

      public long getCurrentGranulePosition()
    • getCurrentBitRate

      public int getCurrentBitRate()
    • processPacket

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