Class FlacFrameInfo


  • public class FlacFrameInfo
    extends java.lang.Object
    Information 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 class  FlacFrameInfo.ChannelDelta
      The relationship between stereo channels.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 frame
        channelDelta - Channel data delta setting