mirror of https://github.com/thesofproject/sof.git
codec_adapter: waves: make interface ops static
and remove waves.h Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
115ffbc1bc
commit
317f80b4f2
|
@ -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
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
/* SPDX-License-Identifier: BSD-3-Clause
|
||||
*
|
||||
* Copyright(c) 2020 Waves Audio Ltd. All rights reserved.
|
||||
*
|
||||
* Author: Oleksandr Strelchenko <oleksandr.strelchenko@waves.com>
|
||||
*/
|
||||
#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__ */
|
Loading…
Reference in New Issue