Class OggAudioStream.Buffer

  • Enclosing class:
    OggAudioStream

    static class OggAudioStream.Buffer
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.nio.ByteBuffer> buffers  
      private int bufferSize  
      private int byteCount  
      private java.nio.ByteBuffer currentBuffer  
    • Constructor Summary

      Constructors 
      Constructor Description
      Buffer​(int p_i50626_1_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void createNewBuffer()  
      java.nio.ByteBuffer get()  
      void put​(float p_216446_1_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • buffers

        private final java.util.List<java.nio.ByteBuffer> buffers
      • bufferSize

        private final int bufferSize
      • byteCount

        private int byteCount
      • currentBuffer

        private java.nio.ByteBuffer currentBuffer
    • Constructor Detail

      • Buffer

        public Buffer​(int p_i50626_1_)
    • Method Detail

      • createNewBuffer

        private void createNewBuffer()
      • put

        public void put​(float p_216446_1_)
      • get

        public java.nio.ByteBuffer get()