Megaphone_RealTimeVoice.h 1.1 KB
/**
 ********************************************************************
 * @file   Megaphone_RealTimeVoice.h
 *          Megaphone_RealTimeVoice的头文件
 *
 *********************************************************************
 */

/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef MEGSPHONE_REALTIMEVOICE_H
#define MEGSPHONE_REALTIMEVOICE_H

/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/

/* Exported types ------------------------------------------------------------*/

/* Exported functions --------------------------------------------------------*/
int Opus_RealTimeVoice_Start(int decode_rate);
int Opus_RealTimeVoice_WriteDataToLoop(unsigned char *buf,int length);
int Opus_RealTimeVoice_Close();
T_JZsdkReturnCode Opus_RealTimeVoice_GetStatusFlag();


#ifdef __cplusplus
}
#endif

#endif