PcmAudioFile.h
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
********************************************************************
* @file PcmAudioFile.h
* PcmAudioFile.c PcmAudioPlay.c 的头文件
*
*********************************************************************
*/
/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef PCM_AUDIO_FILE_H
#define PCM_AUDIO_FILE_H
/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"
#include "Megaphone/AudioMange/AudioMange_Param.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
/* Exported types ------------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
int PcmFile_GetListNum();
T_JZsdkReturnCode PcmFile_FlushList();
T_JZsdkReturnCode Megaphone_PcmFile_GetAudioNameByIndex(int index, unsigned char *name, int *name_len);
T_JZsdkReturnCode Megaphone_PcmFile_IsExistInList(unsigned char *str, unsigned int str_len);
T_JZsdkReturnCode PcmFile_GetAudioInfo(unsigned char *str, unsigned int str_len, struct AudioMange_audio_struct *songToFind);
T_JZsdkReturnCode Megaphone_PcmFile_Init();
T_JZsdkReturnCode PcmAudioPlay_Play(unsigned char *str, unsigned int str_len);
#ifdef __cplusplus
}
#endif
#endif