Loading hal/Android.mk +2 −0 Original line number Diff line number Diff line Loading @@ -243,6 +243,8 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_AUXPCM_BT)),true) LOCAL_CFLAGS += -DAUXPCM_BT_ENABLED endif LOCAL_CFLAGS += -Wall -Werror ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PM_SUPPORT)),true) LOCAL_CFLAGS += -DPM_SUPPORT_ENABLED LOCAL_SRC_FILES += audio_extn/pm.c Loading hal/audio_extn/audio_extn.c +1 −2 Original line number Diff line number Diff line /* * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved. * Not a Contribution. * * Copyright (C) 2013 The Android Open Source Project Loading Loading @@ -392,7 +392,6 @@ int audio_extn_get_afe_proxy_parameters(struct str_parms *query, { int ret, val; char value[32]={0}; char *str = NULL; ret = str_parms_get_str(query, AUDIO_PARAMETER_CAN_OPEN_PROXY, value, sizeof(value)); Loading hal/audio_extn/audio_extn.h +2 −2 Original line number Diff line number Diff line /* * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. * Not a Contribution. * * Copyright (C) 2013 The Android Open Source Project Loading Loading @@ -399,7 +399,7 @@ void audio_extn_ds2_set_parameters(struct audio_device *adev, typedef enum { DAP_STATE_ON = 0, DAP_STATE_BYPASS, }; } dap_state; #ifndef AUDIO_FORMAT_E_AC3_JOC #define AUDIO_FORMAT_E_AC3_JOC 0x19000000UL #endif Loading hal/audio_extn/fm.c +3 −3 Original line number Diff line number Diff line /* * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. * Copyright (c) 2013-2014, 2016 The Linux Foundation. All rights reserved. * Not a Contribution. * * Copyright (C) 2013 The Android Open Source Project Loading Loading @@ -103,7 +103,7 @@ static int32_t fm_set_volume(struct audio_device *adev, float value) static int32_t fm_stop(struct audio_device *adev) { int32_t i, ret = 0; int32_t ret = 0; struct audio_usecase *uc_info; ALOGD("%s: enter", __func__); Loading Loading @@ -142,7 +142,7 @@ static int32_t fm_stop(struct audio_device *adev) static int32_t fm_start(struct audio_device *adev) { int32_t i, ret = 0; int32_t ret = 0; struct audio_usecase *uc_info; int32_t pcm_dev_rx_id, pcm_dev_tx_id; Loading hal/audio_extn/hfp.c +3 −3 Original line number Diff line number Diff line /* hfp.c Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. Copyright (c) 2012-2014, 2016 The Linux Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are Loading Loading @@ -129,7 +129,7 @@ static int32_t hfp_set_volume(struct audio_device *adev, float value) static int32_t start_hfp(struct audio_device *adev, struct str_parms *parms __unused) { int32_t i, ret = 0; int32_t ret = 0; struct audio_usecase *uc_info; int32_t pcm_dev_rx_id, pcm_dev_tx_id, pcm_dev_asm_rx_id, pcm_dev_asm_tx_id; Loading Loading @@ -239,7 +239,7 @@ exit: static int32_t stop_hfp(struct audio_device *adev) { int32_t i, ret = 0; int32_t ret = 0; struct audio_usecase *uc_info; ALOGD("%s: enter", __func__); Loading Loading
hal/Android.mk +2 −0 Original line number Diff line number Diff line Loading @@ -243,6 +243,8 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_AUXPCM_BT)),true) LOCAL_CFLAGS += -DAUXPCM_BT_ENABLED endif LOCAL_CFLAGS += -Wall -Werror ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PM_SUPPORT)),true) LOCAL_CFLAGS += -DPM_SUPPORT_ENABLED LOCAL_SRC_FILES += audio_extn/pm.c Loading
hal/audio_extn/audio_extn.c +1 −2 Original line number Diff line number Diff line /* * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved. * Not a Contribution. * * Copyright (C) 2013 The Android Open Source Project Loading Loading @@ -392,7 +392,6 @@ int audio_extn_get_afe_proxy_parameters(struct str_parms *query, { int ret, val; char value[32]={0}; char *str = NULL; ret = str_parms_get_str(query, AUDIO_PARAMETER_CAN_OPEN_PROXY, value, sizeof(value)); Loading
hal/audio_extn/audio_extn.h +2 −2 Original line number Diff line number Diff line /* * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. * Not a Contribution. * * Copyright (C) 2013 The Android Open Source Project Loading Loading @@ -399,7 +399,7 @@ void audio_extn_ds2_set_parameters(struct audio_device *adev, typedef enum { DAP_STATE_ON = 0, DAP_STATE_BYPASS, }; } dap_state; #ifndef AUDIO_FORMAT_E_AC3_JOC #define AUDIO_FORMAT_E_AC3_JOC 0x19000000UL #endif Loading
hal/audio_extn/fm.c +3 −3 Original line number Diff line number Diff line /* * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. * Copyright (c) 2013-2014, 2016 The Linux Foundation. All rights reserved. * Not a Contribution. * * Copyright (C) 2013 The Android Open Source Project Loading Loading @@ -103,7 +103,7 @@ static int32_t fm_set_volume(struct audio_device *adev, float value) static int32_t fm_stop(struct audio_device *adev) { int32_t i, ret = 0; int32_t ret = 0; struct audio_usecase *uc_info; ALOGD("%s: enter", __func__); Loading Loading @@ -142,7 +142,7 @@ static int32_t fm_stop(struct audio_device *adev) static int32_t fm_start(struct audio_device *adev) { int32_t i, ret = 0; int32_t ret = 0; struct audio_usecase *uc_info; int32_t pcm_dev_rx_id, pcm_dev_tx_id; Loading
hal/audio_extn/hfp.c +3 −3 Original line number Diff line number Diff line /* hfp.c Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. Copyright (c) 2012-2014, 2016 The Linux Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are Loading Loading @@ -129,7 +129,7 @@ static int32_t hfp_set_volume(struct audio_device *adev, float value) static int32_t start_hfp(struct audio_device *adev, struct str_parms *parms __unused) { int32_t i, ret = 0; int32_t ret = 0; struct audio_usecase *uc_info; int32_t pcm_dev_rx_id, pcm_dev_tx_id, pcm_dev_asm_rx_id, pcm_dev_asm_tx_id; Loading Loading @@ -239,7 +239,7 @@ exit: static int32_t stop_hfp(struct audio_device *adev) { int32_t i, ret = 0; int32_t ret = 0; struct audio_usecase *uc_info; ALOGD("%s: enter", __func__); Loading