Class FlacAudioStream

java.lang.Object
de.luckymcdev.foundryengine.client.sound.FlacAudioStream
All Implemented Interfaces:
Closeable, AutoCloseable, net.minecraft.client.sounds.AudioStream, net.minecraft.client.sounds.FiniteAudioStream

public class FlacAudioStream extends Object implements net.minecraft.client.sounds.FiniteAudioStream
  • Constructor Details

  • Method Details

    • getFormat

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

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

      public ByteBuffer readAll()
      Specified by:
      readAll in interface net.minecraft.client.sounds.FiniteAudioStream
    • close

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