From 0acba99f8e88bdf1e421d86abbb472200653c47c Mon Sep 17 00:00:00 2001 From: Mingming Yin Date: Mon, 2 Jun 2014 22:38:35 -0700 Subject: [PATCH] hal: remove ANC headset devices in hal - Remove AUDIO_DEVICE_OUT_ANC_HEADPHONE and AUDIO_DEVICE_OUT_ANC_HEADSET in hal. - These devices are not used Change-Id: Ib8692906edb3460a6325adcf3c3cce9ef4641120 --- hal/audio_extn/dolby.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hal/audio_extn/dolby.c b/hal/audio_extn/dolby.c index cb747153..aff1de91 100644 --- a/hal/audio_extn/dolby.c +++ b/hal/audio_extn/dolby.c @@ -64,7 +64,7 @@ /* DS1-DDP Endp Params */ #define DDP_ENDP_NUM_PARAMS 17 -#define DDP_ENDP_NUM_DEVICES 23 +#define DDP_ENDP_NUM_DEVICES 21 static int ddp_endp_params_id[DDP_ENDP_NUM_PARAMS] = { PARAM_ID_MAX_OUTPUT_CHANNELS, PARAM_ID_CTL_RUNNING_MODE, PARAM_ID_CTL_ERROR_CONCEAL, PARAM_ID_CTL_ERROR_MAX_RPTS, @@ -140,12 +140,6 @@ static struct ddp_endp_params { {AUDIO_DEVICE_OUT_FM_TX, 2, {8, 0, 0, 0, 0, 0, 0, 21, 1, 6, 0, 0, 0, 0, 0, 0, 0}, {1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0} }, - {AUDIO_DEVICE_OUT_ANC_HEADSET, 2, - {8, 0, 0, 0, 0, 0, 0, 21, 1, 6, 0, 0, 0, 0, 0, 0, 0}, - {1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0} }, - {AUDIO_DEVICE_OUT_ANC_HEADPHONE, 2, - {8, 0, 0, 0, 0, 0, 0, 21, 1, 6, 0, 0, 0, 0, 0, 0, 0}, - {1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0} }, {AUDIO_DEVICE_OUT_PROXY, 2, {8, 0, 0, 0, 0, 0, 0, 21, 1, 2, 0, 0, 0, 0, 0, 0, 0}, {1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0} },