Class ClientTests.SineStream

java.lang.Object
net.neoforged.neoforge.debug.client.ClientTests.SineStream
All Implemented Interfaces:
Closeable, AutoCloseable, net.minecraft.client.sounds.AudioStream
Enclosing class:
ClientTests

private static final class ClientTests.SineStream extends Object implements net.minecraft.client.sounds.AudioStream
  • Field Details

  • Constructor Details

    • SineStream

      private SineStream()
  • Method Details

    • getFormat

      public AudioFormat getFormat()
      Specified by:
      getFormat in interface net.minecraft.client.sounds.AudioStream
    • read

      public ByteBuffer read(int capacity)
      Specified by:
      read in interface net.minecraft.client.sounds.AudioStream
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable