demo工程暂存 优化菜单界面UI和功能

This commit is contained in:
2024-04-29 16:32:24 +08:00
commit 330cd25cf1
3310 changed files with 2163318 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#ifndef _ALGORITHM_H
#define _ALGORITHM_H
#include <stdint.h>
enum audio_algo_sel {
AUDIO_ALGO_SEL_AEC = 0x01,
AUDIO_ALGO_SEL_NS = 0x02,
AUDIO_ALGO_SEL_AGC = 0x04,
};
void *algorithm_init(uint8_t algo_sel, uint32_t sample_rate, uint8_t ns_level, uint16_t agc_mode, uint32_t *frame_size);
int algorithm_launch(void *handle, int16_t *farend, int16_t *nearend, int16_t **out);
void algorithm_destroy(void *handle);
#endif // _ALGORITHM_H