Interface AudioStream

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
OggAudioStream, RepeatingAudioStream

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

    • getFormat

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

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