summaryrefslogtreecommitdiffstats
path: root/qahw_api/inc
diff options
context:
space:
mode:
authorManish Dewangan <manish@codeaurora.org>2017-09-12 15:22:03 +0530
committerManish Dewangan <manish@codeaurora.org>2017-10-23 15:03:03 +0530
commit338c50a2936cde1e3b22f29d69d498b3fa984438 (patch)
tree4d7925abdfb68ccbcdb4c8d3b8f8368f558d9a3e /qahw_api/inc
parentadbbe4f9bad743274b19fc5b7d8a46aecf080917 (diff)
downloadandroid_hardware_qcom_audio-338c50a2936cde1e3b22f29d69d498b3fa984438.tar.gz
android_hardware_qcom_audio-338c50a2936cde1e3b22f29d69d498b3fa984438.tar.bz2
android_hardware_qcom_audio-338c50a2936cde1e3b22f29d69d498b3fa984438.zip
audio-hal: 64 bit hal porting changes
-Use long for mixer control with integer type to match with kernel snd_ctl_elem_value definition. -Use packed structure for mixer controls with byte type Change-Id: I9fbb1d10c5ee212348b58fc4b27a3d74403d8bda
Diffstat (limited to 'qahw_api/inc')
-rw-r--r--qahw_api/inc/qahw_defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qahw_api/inc/qahw_defs.h b/qahw_api/inc/qahw_defs.h
index a301bf91..a33caf64 100644
--- a/qahw_api/inc/qahw_defs.h
+++ b/qahw_api/inc/qahw_defs.h
@@ -251,13 +251,13 @@ struct qahw_source_tracking_param {
uint16_t doa_speech;
uint16_t doa_noise[3];
uint8_t polar_activity[360];
-};
+} __attribute__((packed));
struct qahw_sound_focus_param {
uint16_t start_angle[MAX_SECTORS];
uint8_t enable[MAX_SECTORS];
uint16_t gain_step;
-};
+} __attribute__((packed));
struct aptx_dec_bt_addr {
uint32_t nap;