1 /* SPDX-License-Identifier: BSD-3-Clause 2 * 3 * Copyright(c) 2020 Google LLC. All rights reserved. 4 * 5 * Author: Pin-chih Lin <johnylin@google.com> 6 */ 7 #ifndef __SOF_AUDIO_CROSSOVER_CROSSOVER_ALGORITHM_H__ 8 #define __SOF_AUDIO_CROSSOVER_CROSSOVER_ALGORITHM_H__ 9 10 #include <stdint.h> 11 #include <sof/audio/crossover/crossover.h> 12 #include <sof/platform.h> 13 #include <sof/math/iir_df2t.h> 14 #include <user/crossover.h> 15 16 /* crossover reset function */ 17 void crossover_reset_state_ch(struct crossover_state *ch_state); 18 19 /* crossover init function */ 20 int crossover_init_coef_ch(struct sof_eq_iir_biquad_df2t *coef, 21 struct crossover_state *ch_state, 22 int32_t num_sinks); 23 24 #endif // __SOF_AUDIO_CROSSOVER_CROSSOVER_ALGORITHM_H__ 25