Merge "Make metadata field mandatory for program info struct."

This commit is contained in:
Tomasz Wasilczyk 2017-01-10 01:24:27 +00:00 committed by Gerrit Code Review
commit e324500f3f
1 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,8 @@ typedef struct radio_program_info {
bool stereo; /* program is stereo or not */
bool digital; /* digital program or not (e.g HD Radio program) */
unsigned int signal_strength; /* signal strength from 0 to 100 */
radio_metadata_t *metadata; /* non null if meta data are present (e.g PTY, song title ...) */
/* meta data (e.g PTY, song title ...), must not be NULL */
__attribute__((aligned(8))) radio_metadata_t *metadata;
} radio_program_info_t;