| FLAC
    1.3.3
    | 
#include <format.h>
| Public Attributes | |
| uint32_t | blocksize | 
| uint32_t | sample_rate | 
| uint32_t | channels | 
| FLAC__ChannelAssignment | channel_assignment | 
| uint32_t | bits_per_sample | 
| FLAC__FrameNumberType | number_type | 
| union { | |
| FLAC__uint32 frame_number | |
| FLAC__uint64 sample_number | |
| } | number | 
| FLAC__uint8 | crc | 
FLAC frame header structure. (c.f. format specification)
| uint32_t FLAC__FrameHeader::blocksize | 
The number of samples per subframe.
| uint32_t FLAC__FrameHeader::sample_rate | 
The sample rate in Hz.
| uint32_t FLAC__FrameHeader::channels | 
The number of channels (== number of subframes).
| FLAC__ChannelAssignment FLAC__FrameHeader::channel_assignment | 
The channel assignment for the frame.
| uint32_t FLAC__FrameHeader::bits_per_sample | 
The sample resolution.
| FLAC__FrameNumberType FLAC__FrameHeader::number_type | 
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.
| union { ... } FLAC__FrameHeader::number | 
The frame number or sample number of first sample in frame; use the number_type value to determine which to use.
| FLAC__uint8 FLAC__FrameHeader::crc | 
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.