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

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

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

#ifdef __cplusplus
extern "C" {
#endif

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

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


/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode AlsaPlay_Init(struct AudioDealInfo *IndexInfo);
T_JZsdkReturnCode Pcm_AlsaPlay(struct AudioDealInfo *IndexInfo, unsigned char *buf, int num_samples);
T_JZsdkReturnCode Alsa_DropPcm(struct AudioDealInfo *IndexInfo);

#ifdef __cplusplus
}
#endif

#endif