接口 AudioStream
-
- 所有超级接口:
AutoCloseable,Closeable
- 所有已知实现类:
OggAudioStream,RepeatingAudioStream
@Environment(CLIENT) public interface AudioStream extends Closeable
- Mappings:
Namespace Name official ezmintermediary net/minecraft/class_4234named net/minecraft/client/sound/AudioStream
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ByteBuffergetBuffer(int size)AudioFormatgetFormat()
-
-
-
方法详细资料
-
getFormat
AudioFormat getFormat()
- Mappings:
Namespace Name Mixin selector official aLezm;a()Ljavax/sound/sampled/AudioFormat;intermediary method_19719Lnet/minecraft/class_4234;method_19719()Ljavax/sound/sampled/AudioFormat;named getFormatLnet/minecraft/client/sound/AudioStream;getFormat()Ljavax/sound/sampled/AudioFormat;
-
getBuffer
ByteBuffer getBuffer(int size) throws IOException
- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official aLezm;a(I)Ljava/nio/ByteBuffer;intermediary method_19720Lnet/minecraft/class_4234;method_19720(I)Ljava/nio/ByteBuffer;named getBufferLnet/minecraft/client/sound/AudioStream;getBuffer(I)Ljava/nio/ByteBuffer;
-
-