AudioDealThread.h
1.7 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
43
44
45
/**
********************************************************************
* @file AudioDealThread.h
* AudioDealThread
*
*********************************************************************
*/
/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef AUDIO_DEAL_THREAD_H
#define AUDIO_DEAL_THREAD_H
/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"
#include "../AudioDeal.h"
#ifdef __cplusplus
extern "C" {
#endif
T_JZsdkReturnCode Pcm_Data_Pool_Init(struct AudioDealInfo *IndexInfo);
T_JZsdkReturnCode Set_AudioPlayStatus(struct AudioDealInfo *IndexInfo ,enum AudioDealPlayType status, int PlayStatus);
T_JZsdkReturnCode Set_AudioSwitchStatus(struct AudioDealInfo *IndexInfo ,int value);
T_JZsdkReturnCode Set_AudioDataGeneration(struct AudioDealInfo *IndexInfo ,int value);
//T_JZsdkReturnCode Set_AudioDataClear(struct AudioDealInfo *IndexInfo ,int value);
T_JZsdkReturnCode Set_AlsaPlay(struct AudioDealInfo *IndexInfo ,int value);
T_JZsdkReturnCode AudioDealThread_Init(struct AudioDealInfo *IndexInfo);
T_JZsdkReturnCode Set_AudioDeal_ResampleAndFilterAndPlay_Flag(struct AudioDealInfo *IndexInfo ,int value);
T_JZsdkReturnCode Set_AudioDeal_Alsa_Flag(struct AudioDealInfo *IndexInfo ,int value);
T_JZsdkReturnCode Get_AudioDealThreadStatus();
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
/* Exported types ------------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
#ifdef __cplusplus
}
#endif
#endif