Class FlacFrameInfo
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.container.flac.frame.FlacFrameInfo
-
public class FlacFrameInfo extends java.lang.ObjectInformation of a FLAC frame that is required for reading its subframes. Most of the fields in the frame info are not actually needed, since it is an error if they differ from the ones specified in the file metadata.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlacFrameInfo.ChannelDeltaThe relationship between stereo channels.
-
Field Summary
Fields Modifier and Type Field Description FlacFrameInfo.ChannelDeltachannelDeltaThe way stereo channel data is related.intsampleCountNumber of samples in each subframe of this frame.
-
Constructor Summary
Constructors Constructor Description FlacFrameInfo(int sampleCount, FlacFrameInfo.ChannelDelta channelDelta)
-
-
-
Field Detail
-
sampleCount
public final int sampleCount
Number of samples in each subframe of this frame.
-
channelDelta
public final FlacFrameInfo.ChannelDelta channelDelta
The way stereo channel data is related. With stereo frames, one channel can contain its original data and the other just the difference from the first one, which allows for better compression for the other channel.
-
-
Constructor Detail
-
FlacFrameInfo
public FlacFrameInfo(int sampleCount, FlacFrameInfo.ChannelDelta channelDelta)- Parameters:
sampleCount- Number of samples in each subframe of this framechannelDelta- Channel data delta setting
-
-