FLAC  1.3.0
Public Attributes
FLAC__FrameHeader Struct Reference

#include <format.h>

List of all members.

Public Attributes

unsigned blocksize
unsigned sample_rate
unsigned channels
FLAC__ChannelAssignment channel_assignment
unsigned bits_per_sample
FLAC__FrameNumberType number_type
union {
   FLAC__uint32   frame_number
   FLAC__uint64   sample_number
number
FLAC__uint8 crc

Detailed Description

FLAC frame header structure. (c.f. format specification)


Member Data Documentation

The number of samples per subframe.

The sample rate in Hz.

The number of channels (== number of subframes).

The channel assignment for the frame.

The sample resolution.

The numbering scheme used for the frame. As a convenience, the decoder will always convert a frame number to a sample number because the rules are complex.

The frame number or sample number of first sample in frame; use the number_type value to determine which to use.

CRC-8 (polynomial = x^8 + x^2 + x^1 + x^0, initialized with 0) of the raw frame header bytes, meaning everything before the CRC byte including the sync code.


The documentation for this struct was generated from the following file: