diff --git a/src/audio/codec_adapter/codec/waves.c b/src/audio/codec_adapter/codec/waves.c index ded143cc4..68848ef2e 100644 --- a/src/audio/codec_adapter/codec/waves.c +++ b/src/audio/codec_adapter/codec/waves.c @@ -598,7 +598,7 @@ static int waves_effect_setup_config(struct comp_dev *dev) return ret; } -int waves_codec_init(struct comp_dev *dev) +static int waves_codec_init(struct comp_dev *dev) { struct module_data *codec = comp_get_module_data(dev); struct waves_codec_data *waves_codec; @@ -629,7 +629,7 @@ int waves_codec_init(struct comp_dev *dev) return ret; } -int waves_codec_prepare(struct comp_dev *dev) +static int waves_codec_prepare(struct comp_dev *dev) { int ret; @@ -666,7 +666,7 @@ static int waves_codec_init_process(struct comp_dev *dev) return 0; } -int waves_codec_process(struct comp_dev *dev) +static int waves_codec_process(struct comp_dev *dev) { int ret; struct module_data *codec = comp_get_module_data(dev); @@ -721,7 +721,7 @@ int waves_codec_process(struct comp_dev *dev) return ret; } -int waves_codec_apply_config(struct comp_dev *dev) +static int waves_codec_apply_config(struct comp_dev *dev) { int ret; @@ -735,7 +735,7 @@ int waves_codec_apply_config(struct comp_dev *dev) return ret; } -int waves_codec_reset(struct comp_dev *dev) +static int waves_codec_reset(struct comp_dev *dev) { MaxxStatus_t status; int ret = 0; @@ -757,7 +757,7 @@ int waves_codec_reset(struct comp_dev *dev) return ret; } -int waves_codec_free(struct comp_dev *dev) +static int waves_codec_free(struct comp_dev *dev) { /* codec is using codec_adapter method module_allocate_memory for all allocations * codec_adapter will free it all on component free call diff --git a/src/include/sof/audio/codec_adapter/codec/waves.h b/src/include/sof/audio/codec_adapter/codec/waves.h deleted file mode 100644 index 4b82a3fe4..000000000 --- a/src/include/sof/audio/codec_adapter/codec/waves.h +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * - * Copyright(c) 2020 Waves Audio Ltd. All rights reserved. - * - * Author: Oleksandr Strelchenko - */ -#ifndef __SOF_AUDIO_WAVES_CODEC__ -#define __SOF_AUDIO_WAVES_CODEC__ - -int waves_codec_init(struct comp_dev *dev); -int waves_codec_prepare(struct comp_dev *dev); -int waves_codec_process(struct comp_dev *dev); -int waves_codec_apply_config(struct comp_dev *dev); -int waves_codec_reset(struct comp_dev *dev); -int waves_codec_free(struct comp_dev *dev); - -#endif /* __SOF_AUDIO_WAVES_CODEC__ */