Code/net/minecraft/client/sounds/AudioStream.java

15 lines
413 B
Java
Raw Normal View History

2025-07-01 06:20:03 +00:00
package net.minecraft.client.sounds;
import java.io.Closeable;
import java.io.IOException;
import java.nio.ByteBuffer;
import javax.sound.sampled.AudioFormat;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
@OnlyIn(Dist.CLIENT)
public interface AudioStream extends Closeable {
AudioFormat getFormat();
ByteBuffer read(int p_120120_) throws IOException;
}