Maestro Audio Framework v 1.7
NXP Semiconductors
|
Macros | |
#define | FLAC_FILE_IDENTIFIER 0x43614C66 |
#define | MAX_CHANNELS 2 |
#define | ERROR -1 |
#define | MAX_STRING_LEN 255 |
#define | TOTAL_COMMENTS 15 |
Functions | |
int8_t | txt_ConvertUtf8ToUtf16c (char *ptr, uint16_t *pUnicodeValue) |
int | CheckFlacId (CCI_Ctx *Ctx, file_meta_data_t *MetaData) |
Checks the headers for flac ID. | |
int | FLACReadMetadata (CCI_Ctx *Ctx, file_meta_data_t *pMetaData) |
Read FLAC Metadata block header and calls metadata block data reader. | |
int | FLACReadStreamInfoMetadata (CCI_Ctx *Ctx, file_meta_data_t *MetaData, uint32_t u32Length) |
Reads stream info metadata block. | |
int | FLACReadVorbisCommentMetadata (CCI_Ctx *Ctx, file_meta_data_t *pMetaData, uint32_t uLength) |
Reads vorbis comment metadata block. | |
int32_t | GetFlacBytes (CCI_Ctx *Ctx, int32_t i32BytesToRead, uint8_t *pBuffer) |
uint8_t | flac_copy_one_byte (char *ptr, char *ptr1) |
uint64_t | BigNum_Divide_64_by_32_flac (uint64_t n, uint32_t base) |
int32_t | flac_GetFileSize (CCI_Ctx *Ctx) |
get file size Callback API for all metadata extraction. | |
int32_t | codec_extract_metadata_flac (file_meta_data_t *MetaData, CCI_Ctx *Ctx) |
Extract the meta data from the file. | |
int CheckFlacId | ( | CCI_Ctx * | Ctx, |
file_meta_data_t * | MetaData ) |
\fntype internal Function
Checks the headers for FLAC ID.
[in] | iHandle | File handle that we're checking |
[in] | *MetaData | – this structure will be filled in by the function |
SUCCESS | or ERROR |
int FLACReadMetadata | ( | CCI_Ctx * | Ctx, |
file_meta_data_t * | pMetaData ) |
\fntype internal Function
Read FLAC Metadata block header and calls metadata block data reader.
[in] | iHandle | File handle that we're checking |
[out] | *pMetaData | Metadata extracted from the file. |
SUCCESS | or !SUCCESS |
int FLACReadStreamInfoMetadata | ( | CCI_Ctx * | Ctx, |
file_meta_data_t * | MetaData, | ||
uint32_t | u32Length ) |
\fntype internal Function
Reads stream info metadata block
[in] | iHandle | File handle that we're checking |
[in/out] | *MetaData – this structure will be filled in by the function | |
[in] | u32Length | – length of metadata block, to be read. |
SUCCESS | or ERROR |
int FLACReadVorbisCommentMetadata | ( | CCI_Ctx * | Ctx, |
file_meta_data_t * | pMetaData, | ||
uint32_t | uLength ) |
\fntype internal Function
Reads vorbis comment metadata block ( flac tag information )
[in] | iHandle | File handle that we're checking |
[in/out] | *MetaData – this structure will be filled in by the function | |
[in] | u32Length | – length of metadata block, to be read. |
SUCCESS | or ERROR |
int32_t flac_GetFileSize | ( | CCI_Ctx * | Ctx | ) |
\fntype Function
[in] | *Ctx | Pointer to CCI Context structure |
File | Size. |
int32_t codec_extract_metadata_flac | ( | file_meta_data_t * | MetaData, |
CCI_Ctx * | Ctx ) |
Extract the meta data from the flac file.
\fntype Reentrant Function
Extract the meta data from the file.
[in] | file_handle | Fast open key; this key allows the file to be quickly found and opened |
[out] | *MetaData | Metadata extracted from the file. |
SUCCESS | |
ERROR_ASI_DFFI_EXTRACTMETADATA |