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

38 lines
1.1 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef AUDIO_CVP_SYNC_H
#define AUDIO_CVP_SYNC_H
/*
*********************************************************************
* Audio CVP Sync Open
* Description: 通话上行同步打开
* Arguments : sr 采样率
* Return : 0 成功 其他 失败
* Note(s) : null
*********************************************************************
*/
int audio_cvp_sync_open(u16 sr);
/*
*********************************************************************
* Audio CVP Sync Run
* Description: 通话上行同步处理
* Arguments : data 数据指针, len 数据长度(byte)
* Return : len 写入的数据长度0 写入失败
* Note(s) : null
*********************************************************************
*/
int audio_cvp_sync_run(s16 *data, int len);
/*
*********************************************************************
* Audio CVP Sync Close
* Description: 通话上行同步关闭
* Arguments : null
* Return : 0 成功 其他 失败
* Note(s) : null
*********************************************************************
*/
int audio_cvp_sync_close();
#endif/*AUDIO_CVP_SYNC_H*/