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
diff --git a/hal/audio_extn/hfp.c b/hal/audio_extn/hfp.c
index 748562a..db51122 100644
--- a/hal/audio_extn/hfp.c
+++ b/hal/audio_extn/hfp.c
@@ -312,7 +312,7 @@
{
struct mixer_ctl *ctl;
const char *mixer_ctl_name = "HFP TX Mute";
- uint32_t set_values[ ] = {0};
+ long set_values[ ] = {0};
ALOGI("%s: enter, state=%d", __func__, state);