Renesas / Mbed OS GR-PEACH_Audio_Playback_7InchLCD_Sample

Dependencies:   GR-PEACH_video R_BSP TLV320_RBSP USBHost_custom

Fork of GR-PEACH_Audio_Playback_Sample by Renesas

Embed: (wiki syntax)

« Back to documentation index

FLAC__FrameHeader Struct Reference

FLAC__FrameHeader Struct Reference
[FLAC/format.h: format components]

FLAC frame header structure. More...

#include <format.h>

Data Fields

unsigned blocksize
 The number of samples per subframe.
unsigned sample_rate
 The sample rate in Hz.
unsigned channels
 The number of channels (== number of subframes).
FLAC__ChannelAssignment channel_assignment
 The channel assignment for the frame.
unsigned bits_per_sample
 The sample resolution.
FLAC__FrameNumberType number_type
 The numbering scheme used for the frame.
union {
number
 The frame number or sample number of first sample in frame; use the number_type value to determine which to use.
FLAC__uint8 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.

Detailed Description

FLAC frame header structure.

(c.f. format specification)

Definition at line 411 of file include/FLAC/format.h.


Field Documentation

unsigned bits_per_sample

The sample resolution.

Definition at line 425 of file include/FLAC/format.h.

unsigned blocksize

The number of samples per subframe.

Definition at line 413 of file include/FLAC/format.h.

The channel assignment for the frame.

Definition at line 422 of file include/FLAC/format.h.

unsigned channels

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

Definition at line 419 of file include/FLAC/format.h.

FLAC__uint8 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.

Definition at line 440 of file include/FLAC/format.h.

union { ... } number

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

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.

Definition at line 428 of file include/FLAC/format.h.

unsigned sample_rate

The sample rate in Hz.

Definition at line 416 of file include/FLAC/format.h.