Class AudioStreamBuffer


  • public class AudioStreamBuffer
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int alBuffer  
      private java.nio.ByteBuffer data  
      private javax.sound.sampled.AudioFormat format  
      private boolean hasAlBuffer  
    • Constructor Summary

      Constructors 
      Constructor Description
      AudioStreamBuffer​(java.nio.ByteBuffer p_i51176_1_, javax.sound.sampled.AudioFormat p_i51176_2_)  
    • Field Detail

      • data

        @Nullable
        private java.nio.ByteBuffer data
      • format

        private final javax.sound.sampled.AudioFormat format
      • hasAlBuffer

        private boolean hasAlBuffer
      • alBuffer

        private int alBuffer
    • Constructor Detail

      • AudioStreamBuffer

        public AudioStreamBuffer​(java.nio.ByteBuffer p_i51176_1_,
                                 javax.sound.sampled.AudioFormat p_i51176_2_)
    • Method Detail

      • getAlBuffer

        java.util.OptionalInt getAlBuffer()
      • discardAlBuffer

        public void discardAlBuffer()
      • releaseAlBuffer

        public java.util.OptionalInt releaseAlBuffer()