mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
add number_type to frame header
This commit is contained in:
@@ -217,6 +217,12 @@ typedef enum {
|
|||||||
} FLAC__ChannelAssignment;
|
} FLAC__ChannelAssignment;
|
||||||
extern const char *FLAC__ChannelAssignmentString[];
|
extern const char *FLAC__ChannelAssignmentString[];
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
FLAC__FRAME_NUMBER_TYPE_FRAME_NUMBER,
|
||||||
|
FLAC__FRAME_NUMBER_TYPE_SAMPLE_NUMBER
|
||||||
|
} FLAC__FrameNumberType;
|
||||||
|
extern const char *FLAC__FrameNumberTypeString[];
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* 14: sync code '11111111111110'
|
* 14: sync code '11111111111110'
|
||||||
@@ -277,6 +283,7 @@ typedef struct {
|
|||||||
unsigned channels;
|
unsigned channels;
|
||||||
FLAC__ChannelAssignment channel_assignment;
|
FLAC__ChannelAssignment channel_assignment;
|
||||||
unsigned bits_per_sample;
|
unsigned bits_per_sample;
|
||||||
|
FLAC__FrameNumberType number_type;
|
||||||
union {
|
union {
|
||||||
FLAC__uint32 frame_number;
|
FLAC__uint32 frame_number;
|
||||||
FLAC__uint64 sample_number;
|
FLAC__uint64 sample_number;
|
||||||
|
|||||||
Reference in New Issue
Block a user