#pragma once #ifndef _LIB_ALG_NETVOICE_H__ #define _LIB_ALG_NETVOICE_H__ typedef enum { netvoice_decode = 0x1, //½âÂëºóÉý²ÉÑù netvoice_encode, //½µ²ÉÑùºó±àÂë }netvoice_type; void* alg_netvoice_create(netvoice_type type ,int samplrate1, int samplrate2, int compressed , int smpl_num); void alg_netvoice_destroy(void* handle); int alg_netvoice_get_frame(void* handle, void* dataout, int len); int alg_netvoice_put_frame(void* handle, void* datain, int len); #endif