demo工程暂存 优化菜单界面UI和功能
This commit is contained in:
16
MCU/components/modules/audio/algorithm/algorithm.h
Normal file
16
MCU/components/modules/audio/algorithm/algorithm.h
Normal 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
|
Reference in New Issue
Block a user