Class NativeVorbisFile


  • public class NativeVorbisFile
    extends java.lang.Object
    • Field Detail

      • fd

        public int fd
      • ovf

        public java.nio.ByteBuffer ovf
      • seekable

        public boolean seekable
      • channels

        public int channels
      • sampleRate

        public int sampleRate
      • bitRate

        public int bitRate
      • totalBytes

        public int totalBytes
      • duration

        public float duration
    • Constructor Detail

      • NativeVorbisFile

        public NativeVorbisFile​(int fd,
                                long off,
                                long len)
                         throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • seekTime

        public void seekTime​(double time)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public int read​(byte[] buf,
                        int off,
                        int len)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • readFully

        public void readFully​(java.nio.ByteBuffer out)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
      • nativeInit

        public static void nativeInit()