#ifndef __ALG_SPL_H__ #define __ALG_SPL_H__ #ifdef __cplusplus extern "C" { #endif #include "typedefs.h" /** * descripts. * @param smpl_rate [in] * @param smpl_num [in] * @return void* * @note */ void* alg_spl_continuous_create ( int smpl_rate , int smpl_num ); void alg_spl_continuous_destroy ( void* handle ); void alg_spl_continuous_set_parameters ( uvoidptr handle , float nthr , float maxgain , float mingain , float ratio , int speed , float trim ); void alg_spl_continuous_set_distance ( uvoidptr handle , float distance ); float alg_spl_get_sense_level ( void* handle ); float alg_spl_get_correlation_coffes ( void* handle ); void alg_spl_calibrate ( void* handle ); int alg_spl_continuous_process ( void* handle , float* datain , float* sensein , float* dataout ); #ifdef __cplusplus } #endif #endif