#ifndef _ALGLIB_ANS_H__ #define _ALGLIB_ANS_H__ #include "typedefs.h" /* 0: Mild (6 dB), 1: Medium (10 dB), 2: Aggressive (15 dB) */ typedef enum{ ns_6dB, ns_12dB, ns_18dB, ns_24dB, ns_30dB, ns_36dB, ns_off, }ans_mode; void* alg_ans_create(int sampRate, int nsSampleRate , int sampNum); int alg_ans_destroy(void* NS_inst); int alg_ans_set_policy(uvoidptr NS_inst, ans_mode mode); int alg_ans_process(uvoidptr NS_inst, const float* data_in, float* data_out); int alg_ans_process_asy(uvoidptr NS_inst); double alg_ans_get_ulitily(uvoidptr handle); void alg_ans_clr_ulitily(uvoidptr handle); void alg_ans_timer_handler(uvoidptr handle, float secs);////////////////////////////////// #endif