KT24-1110_65E-HA-651B/cpu/br25/audio_dec/audio_spectrum.h

53 lines
1.5 KiB
C
Raw Normal View History

2024-11-10 10:44:17 +00:00
#ifndef _AUDIO_SPECTRUM_H_
#define _AUDIO_SPECTRUM_H_
#include "app_config.h"
#include "clock_cfg.h"
#include "media/includes.h"
#include "asm/includes.h"
#include "media/spectrum/spectrum_eq.h"
#include "media/spectrum/spectrum_fft.h"
/*----------------------------------------------------------------------------*/
/**@brief 打开频响统计
@param sr:
@return hdl:
@note
*/
/*----------------------------------------------------------------------------*/
spectrum_fft_hdl *spectrum_open_demo(u32 sr, u8 channel);
/*----------------------------------------------------------------------------*/
/**@brief 关闭频响统计
@param hdl:
@return
@note
*/
/*----------------------------------------------------------------------------*/
void spectrum_close_demo(spectrum_fft_hdl *hdl);
/*----------------------------------------------------------------------------*/
/**@brief 频响输出例子
@return
@note
*/
/*----------------------------------------------------------------------------*/
void spectrum_get_demo(void *p);
/*----------------------------------------------------------------------------*/
/**@brief 切换频响计算
@param en:0 1 使
@return
@note
*/
/*----------------------------------------------------------------------------*/
void spectrum_switch_demo(u8 en);
#endif