Loading hal/Android.mk +2 −0 Original line number Diff line number Diff line Loading @@ -251,6 +251,8 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_AUXPCM_BT)),true) LOCAL_CFLAGS += -DAUXPCM_BT_ENABLED endif LOCAL_CFLAGS += -Wall -Werror LOCAL_COPY_HEADERS_TO := mm-audio LOCAL_COPY_HEADERS := audio_extn/audio_defs.h Loading hal/audio_extn/audio_extn.c +0 −1 Original line number Diff line number Diff line Loading @@ -447,7 +447,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/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 @@ -102,7 +102,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 @@ -141,7 +141,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 hal/audio_extn/soundtrigger.c +1 −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. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are Loading Loading @@ -130,7 +130,6 @@ int audio_hw_call_back(sound_trigger_event_type_t event, void audio_extn_sound_trigger_stop_lab(struct stream_in *in) { int status = 0; struct sound_trigger_info *st_ses_info = NULL; audio_event_info_t event; Loading Loading @@ -300,7 +299,6 @@ int audio_extn_sound_trigger_init(struct audio_device *adev) { int status = 0; char sound_trigger_lib[100]; void *lib_handle; ALOGI("%s: Enter", __func__); Loading Loading
hal/Android.mk +2 −0 Original line number Diff line number Diff line Loading @@ -251,6 +251,8 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_AUXPCM_BT)),true) LOCAL_CFLAGS += -DAUXPCM_BT_ENABLED endif LOCAL_CFLAGS += -Wall -Werror LOCAL_COPY_HEADERS_TO := mm-audio LOCAL_COPY_HEADERS := audio_extn/audio_defs.h Loading
hal/audio_extn/audio_extn.c +0 −1 Original line number Diff line number Diff line Loading @@ -447,7 +447,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/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 @@ -102,7 +102,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 @@ -141,7 +141,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
hal/audio_extn/soundtrigger.c +1 −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. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are Loading Loading @@ -130,7 +130,6 @@ int audio_hw_call_back(sound_trigger_event_type_t event, void audio_extn_sound_trigger_stop_lab(struct stream_in *in) { int status = 0; struct sound_trigger_info *st_ses_info = NULL; audio_event_info_t event; Loading Loading @@ -300,7 +299,6 @@ int audio_extn_sound_trigger_init(struct audio_device *adev) { int status = 0; char sound_trigger_lib[100]; void *lib_handle; ALOGI("%s: Enter", __func__); Loading