qipp
2025-11-07 744722688187eb4991c72464e2bb5e06b244fee7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _ALG_PFC_H__
 
/*
to avoid the FS
effect to be clearly audible, a system equipped with an FS
filter should operate 6 dB below the MSG
*/
typedef enum{
    PFC_PM,
    PFC_FM,
    PFC_FS, //FSÓнϴóµÄMSG£¬µ«¶ÔÒôÀÖÐźŲ»ÊÊÓ¦¡£
    PFC_DM, //DMÔÚµÍÆµÉϱíÏֽϲî
}pfc_type;
 
void* pfc_create(int smpRate,int smpNum , pfc_type type);
 
int pfc_process(void* handle , const float* input ,float* output);
 
void pfc_destroy(void* handle);
 
void pfc_set_type (void* handle ,  pfc_type type);
 
#endif