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

View file

@ -170,7 +170,8 @@ typedef struct radio_program_info {
bool stereo; /* program is stereo or not */ bool stereo; /* program is stereo or not */
bool digital; /* digital program or not (e.g HD Radio program) */ bool digital; /* digital program or not (e.g HD Radio program) */
unsigned int signal_strength; /* signal strength from 0 to 100 */ 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; } radio_program_info_t;