Class FlacSubFrameReader
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.container.flac.frame.FlacSubFrameReader
-
public class FlacSubFrameReader extends java.lang.ObjectContains methods for reading a FLAC subframe
-
-
Constructor Summary
Constructors Constructor Description FlacSubFrameReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidreadSubFrame(BitStreamReader reader, FlacStreamInfo streamInfo, FlacFrameInfo frameInfo, int[] sampleBuffer, int channel, int[] temporaryBuffer)Reads and decodes one subframe (a channel of a frame)
-
-
-
Method Detail
-
readSubFrame
public static void readSubFrame(BitStreamReader reader, FlacStreamInfo streamInfo, FlacFrameInfo frameInfo, int[] sampleBuffer, int channel, int[] temporaryBuffer) throws java.io.IOException
Reads and decodes one subframe (a channel of a frame)- Parameters:
reader- Bit stream readerstreamInfo- Stream global infoframeInfo- Current frame infosampleBuffer- Output buffer for the (possibly delta) decoded samples of this subframechannel- The index of the current channeltemporaryBuffer- Temporary working buffer of size at least 32- Throws:
java.io.IOException- On read error
-
-