Interface AudioStream

All Superinterfaces:
AutoCloseable, Closeable
All Known Subinterfaces:
BufferedAudioStream, NonRepeatingAudioStream
All Known Implementing Classes:
OggAudioStream, RepeatingAudioStream

@Environment(CLIENT) public interface AudioStream extends Closeable
Mappings:
Namespace Name
named net/minecraft/client/sound/AudioStream
intermediary net/minecraft/class_4234
official hga
  • Method Details

    • getFormat

      AudioFormat getFormat()
      Mappings:
      Namespace Name Mixin selector
      named getFormat Lnet/minecraft/client/sound/AudioStream;getFormat()Ljavax/sound/sampled/AudioFormat;
      intermediary method_19719 Lnet/minecraft/class_4234;method_19719()Ljavax/sound/sampled/AudioFormat;
      official a Lhga;a()Ljavax/sound/sampled/AudioFormat;
    • read

      ByteBuffer read(int size) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named read Lnet/minecraft/client/sound/AudioStream;read(I)Ljava/nio/ByteBuffer;
      intermediary method_19720 Lnet/minecraft/class_4234;method_19720(I)Ljava/nio/ByteBuffer;
      official a Lhga;a(I)Ljava/nio/ByteBuffer;