package net.minecraft.client.sounds; import java.io.Closeable; import java.io.IOException; import java.nio.ByteBuffer; import javax.sound.sampled.AudioFormat; public interface AudioStream extends Closeable { AudioFormat getFormat(); ByteBuffer read(final int expectedSize) throws IOException; }