Class BedrockPcmStream
java.lang.Object
com.viaversion.viafabricplus.bedrock.appearance.BedrockPcmStream
- All Implemented Interfaces:
Closeable, AutoCloseable, net.minecraft.client.sounds.AudioStream
public final class BedrockPcmStream
extends Object
implements net.minecraft.client.sounds.AudioStream
Repeats whole PCM frames without duplicating the sample, and tracks queued OpenAL frames.
-
Method Details
-
getFormat
- Specified by:
getFormatin interfacenet.minecraft.client.sounds.AudioStream
-
read
- Specified by:
readin interfacenet.minecraft.client.sounds.AudioStream
-
processed
public void processed(int count) Called on the sound executor after Channel removes processed OpenAL buffers. -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-