Maven module :un.storage : media-flac :
Class : un.storage.media.flac.model.Frame
Extends/Implements : -
Subclasses : -

author  Johann Sorel


Variables : sync, reserved1, strategy, blockSize, sampleRate, channelAssignment, sampleSize, reserved2, number, bitblocksize, bitsamplerate, crc8, channels, subs, trueNbBitsPerSample, trueNbSample, crc16
Functions : read, toChannels



14bits : sync code : 3FFE */
public int sync


1bit */
public int reserved1


1bit : blocking strategy
0 : fixed size , frame header contains the frame number
1 : variable size , frame header contains the sample number
public int strategy


4bits : block size */
public int blockSize


4bits : sample rate */
public int sampleRate


4bits : Channel assignment */
public int channelAssignment


3bits : Sample size, in bits */
public int sampleSize


1bit */
public int reserved2


?bits : UTF-8 encoding
sample or frame number
public long number


8/16bits */
public int bitblocksize


8/16bits */
public int bitsamplerate


8bits */
public int crc8



public int[] channels

public SubFrame[] subs


sample size in bits */
public int trueNbBitsPerSample


number of interleaved samples stored in one subframe(block) */
public int trueNbSample


16bits */
public int crc16


public void read (MetadataStreamInfo info, DataInputStream ds)

public int[] toChannels (int channelAssignment)