diff --git a/src/audio/crossover/crossover.c b/src/audio/crossover/crossover.c index ee276bba84c1..8d2cb5f887db 100644 --- a/src/audio/crossover/crossover.c +++ b/src/audio/crossover/crossover.c @@ -46,17 +46,11 @@ DECLARE_SOF_RT_UUID("crossover", crossover_uuid, 0x948c9ad1, 0x806a, 0x4131, DECLARE_TR_CTX(crossover_tr, SOF_UUID(crossover_uuid), LOG_LEVEL_INFO); -static inline void crossover_free_config(struct sof_crossover_config **config) -{ - rfree(*config); - *config = NULL; -} - /** * \brief Reset the state (coefficients and delay) of the crossover filter * across all channels */ -static inline void crossover_reset_state(struct comp_data *cd) +static void crossover_reset_state(struct comp_data *cd) { int i; diff --git a/src/audio/crossover/crossover.h b/src/audio/crossover/crossover.h index 487e260d80a5..5a655acb2c38 100644 --- a/src/audio/crossover/crossover.h +++ b/src/audio/crossover/crossover.h @@ -125,4 +125,10 @@ static inline int32_t crossover_generic_process_lr4(int32_t in, return iir_df2t(lr4, in); } +static inline void crossover_free_config(struct sof_crossover_config **config) +{ + rfree(*config); + *config = NULL; +} + #endif // __SOF_AUDIO_CROSSOVER_CROSSOVER_H__