Files
99_7018_lmx/cpu/br28/audio_effect_develop.h
2025-10-29 13:10:02 +08:00

46 lines
1.8 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*************************************************************************************************/
/*!
* \file audio_effect_develop.h
*
* \brief
*
* Copyright (c) 2011-2023 ZhuHai Jieli Technology Co.,Ltd.
*
*/
/*************************************************************************************************/
#ifndef _AUDIO_EFFECT_DEVELOP_H_
#define _AUDIO_EFFECT_DEVELOP_H_
/*********************************************************************** 
 * 音效算法开发打开 
 * Input    :  sample_rate  - 采样率 
               nch - 声道数 
bit_width - 位宽(通常默认为16bit)
 * Output   : 音效算法开发的主句柄 
 * Notes    : 
 * History  : 
 *=====================================================================*/  
void *audio_effect_develop_open(int sample_rate, u8 nch, u8 bit_width);
/*********************************************************************** 
 * 音效算法开发关闭 
 * Input    :  priv - 第三方音效算法的主要私有句柄 
 * Output   :  
 * Notes    :  
 * History  : 
 *=====================================================================*/  
void audio_effect_develop_close(void *priv);
/*********************************************************************** 
 * 音效算法开发处理函数 
 * Input    :  priv - 第三方音效算法的主要私有句柄 
               data - pcm数据 
               len  - pcm数据的byte长度 
 * Output   :  数据处理长度 
 * Notes    : 
 * History  : 
 *=====================================================================*/  
int audio_effect_develop_data_handler(void *priv, void *data, int len);
#endif