1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
|
| #ifndef _ALG_GATE_H__
| #define _ALG_GATE_H__
|
|
| void* alg_gate_create(int smpl_rate, int smpl_num);
|
|
|
| void alg_gate_destroy(void* h);
|
|
|
| void alg_gate_set_param(void* h, float threshold, int holdtime, float depth, int releaseTime, int attacktime);
|
|
| int alg_gate_process(void* h,const float* data_in,float* data_out);
|
|
| float alg_gate_get_reducedb(void* h);
|
| #define GATE 0
| #endif
|
|