/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * SpanDSP - a series of DSP components for telephony * * biquad.h - General telephony bi-quad section routines (currently this just * handles canonic/type 2 form) * * Written by Steve Underwood <[email protected]> * * Copyright (C) 2001 Steve Underwood * * All rights reserved. */ struct biquad2_state { … }; static inline void biquad2_init(struct biquad2_state *bq, int32_t gain, int32_t a1, int32_t a2, int32_t b1, int32_t b2) { … } static inline int16_t biquad2(struct biquad2_state *bq, int16_t sample) { … }