mirror of https://github.com/thesofproject/sof.git
Audio: drc: remove incompatible inline for three functions
These three functions are called by external modules and its prototype is not defined with inline, also these functions are not performance critical function, no need inline. Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
This commit is contained in:
parent
d360607963
commit
9a906586d1
|
@ -44,7 +44,7 @@ DECLARE_SOF_RT_UUID("drc", drc_uuid, 0xb36ee4da, 0x006f, 0x47f9,
|
|||
|
||||
DECLARE_TR_CTX(drc_tr, SOF_UUID(drc_uuid), LOG_LEVEL_INFO);
|
||||
|
||||
inline void drc_reset_state(struct drc_state *state)
|
||||
void drc_reset_state(struct drc_state *state)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
@ -68,9 +68,9 @@ inline void drc_reset_state(struct drc_state *state)
|
|||
state->max_attack_compression_diff_db = INT32_MIN;
|
||||
}
|
||||
|
||||
inline int drc_init_pre_delay_buffers(struct drc_state *state,
|
||||
size_t sample_bytes,
|
||||
int channels)
|
||||
int drc_init_pre_delay_buffers(struct drc_state *state,
|
||||
size_t sample_bytes,
|
||||
int channels)
|
||||
{
|
||||
size_t bytes_per_channel = sample_bytes * CONFIG_DRC_MAX_PRE_DELAY_FRAMES;
|
||||
size_t bytes_total = bytes_per_channel * channels;
|
||||
|
@ -91,9 +91,9 @@ inline int drc_init_pre_delay_buffers(struct drc_state *state,
|
|||
return 0;
|
||||
}
|
||||
|
||||
inline int drc_set_pre_delay_time(struct drc_state *state,
|
||||
int32_t pre_delay_time,
|
||||
int32_t rate)
|
||||
int drc_set_pre_delay_time(struct drc_state *state,
|
||||
int32_t pre_delay_time,
|
||||
int32_t rate)
|
||||
{
|
||||
int32_t pre_delay_frames;
|
||||
|
||||
|
|
Loading…
Reference in New Issue