![]() |
Maestro Audio Framework v 1.5
NXP Semiconductors
|
File Metadata Structure.
#include <cci_metadata.h>
Data Fields | |
| audio_stream_type_t | stream_type |
| Mp3, Wma, etc. | |
| uint8_t | song_title [TITLE_SIZE] |
| Title of Song. | |
| uint8_t | song_artist [ARTIST_SIZE] |
| Artist of Song. | |
| uint8_t | song_album [ALBUM_SIZE] |
| Album of Song. | |
| uint8_t | song_genre [GENRE_SIZE] |
| ptr to buffer to store genre string | |
| uint8_t | song_year [YEAR_SIZE] |
| ptr to buffer to store album year, in UTF16 as yyyy (ex. 1969) | |
| uint8_t | genre |
| Genre of audio file – if MP3, use the ID3v1 tag byte. | |
| uint32_t | track_number |
| Track number of album/playlist. | |
| uint32_t | sample_rate |
| Sample Rate of song (Hz) | |
| int32_t | num_channels |
| Number of channels. | |
| uint32_t | bit_rate |
| Bitrate of song (for MP3 VBR, this will be first bitrate found) | |
| uint32_t | avg_bit_rate |
| Avg bitrate in VBR song (if 0, then it was not known) | |
| uint32_t | total_time |
| Length of song in seconds. | |
| uint32_t | start_pos |
| Position where audio starts. (if required by the decoder) | |
| uint32_t | num_bytes |
| Total Bytes in audio part of song. | |
| codec_bitrate_type_t | bitrate_type |
| Bitrate Type. | |
| bool | valid_vbr_header |
| Is the VBR header valid. | |
| int32_t | file_handle |
| Fast open key. | |
| int32_t | bits_per_sample |
| AIFF decoder. | |
| uint32_t | audio_sub_type |
| Audio Subtype. | |
| bool | has_janus_drm |
| indicates whether wma song is DRM or not | |
| int32_t | mpeg_layer |
| Mpeg Layer. | |
| bool | no_audio |
| No Audio. | |
| int32_t | is_ogg_flac |
| flag to identify OGG FLAC file | |