pinebuds/services/multimedia/audio/process/filters/cfg/eq_cfg.h

42 lines
1.3 KiB
C

/***************************************************************************
*
* Copyright 2015-2019 BES.
* All rights reserved. All unpublished rights reserved.
*
* No part of this work may be used or reproduced in any form or by any
* means, or stored in a database or retrieval system, without prior written
* permission of BES.
*
* Use of this work is governed by a license granted by BES.
* This work contains confidential and proprietary information of
* BES. which is protected by copyright, trade secret,
* trademark and other intellectual property rights.
*
****************************************************************************/
#ifndef __FIR_PROCESS_H__
#define __FIR_PROCESS_H__
#ifdef __cplusplus
extern "C" {
#endif
void iir_lowshelf_coefs_generate(float gain, float fn, float Q, float *coefs);
void iir_highshelf_coefs_generate(float gain, float fn, float Q, float *coefs);
void iir_peak_notch_coefs_generate(float gain, float fn, float Q, float *coefs);
void iir_highpass_coefs_generate(float gain, float fn, float Q, float *coefs);
void iir_lowspass_coefs_generate(float gain, float fn, float Q, float *coefs);
float iir_convert_db_to_multiple(float db);
void iir_coefs_generate(IIR_TYPE_T type, float gain, float fn, float Q, float *coefs);
#ifdef __cplusplus
}
#endif
#endif