diff options
author | Tomasz Wasilczyk | 2017-01-09 16:26:43 -0600 |
---|---|---|
committer | Tomasz Wasilczyk | 2017-01-09 16:26:43 -0600 |
commit | 70a8148b5207273f3cef4aafe247a4dc229c91b3 (patch) | |
tree | 261fb75051e8553c6a9f08b771038ef8f940e268 | |
parent | d5583867c61867252d4a8d794704f9c2d40bbca8 (diff) | |
download | platform-system-core-70a8148b5207273f3cef4aafe247a4dc229c91b3.tar.gz platform-system-core-70a8148b5207273f3cef4aafe247a4dc229c91b3.tar.xz platform-system-core-70a8148b5207273f3cef4aafe247a4dc229c91b3.zip |
Make metadata field mandatory for program info struct.
Also, make metadata struct aligned.
Test: VTS, manual
Change-Id: I7dbd62d36ac21475fdbc49723ba3ea6744460d21
-rw-r--r-- | include/system/radio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/system/radio.h b/include/system/radio.h index d73d3ae49..36e218889 100644 --- a/include/system/radio.h +++ b/include/system/radio.h | |||
@@ -170,7 +170,8 @@ typedef struct radio_program_info { | |||
170 | bool stereo; /* program is stereo or not */ | 170 | bool stereo; /* program is stereo or not */ |
171 | bool digital; /* digital program or not (e.g HD Radio program) */ | 171 | bool digital; /* digital program or not (e.g HD Radio program) */ |
172 | unsigned int signal_strength; /* signal strength from 0 to 100 */ | 172 | unsigned int signal_strength; /* signal strength from 0 to 100 */ |
173 | radio_metadata_t *metadata; /* non null if meta data are present (e.g PTY, song title ...) */ | 173 | /* meta data (e.g PTY, song title ...), must not be NULL */ |
174 | __attribute__((aligned(8))) radio_metadata_t *metadata; | ||
174 | } radio_program_info_t; | 175 | } radio_program_info_t; |
175 | 176 | ||
176 | 177 | ||