blob: 3180831474b231a8fcc0ba7a11e1ac0390d4ca88 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/***********************************************************************
2* Copyright (C) 2001, ZTE Corporation.
3*
4* File Name: drvs_audiomanager.h
5* File Mark:
6* Description: audio manager interface declaration.
7* Others:
8* Version: v1.0
9* Author: lvwenhua
10* Date: 2016-07-07
11*
12* History 1:
13* Date:
14* Version:
15* Author:
16* Modification:
17
18* History 2:
19**********************************************************************/
20#ifndef _DRVS_AUDIOM_H
21#define _DRVS_AUDIOM_H
22
23
24/*************************************************************************
25 * Include files *
26 *************************************************************************/
27#include "drvs_general.h"
28
29/*************************************************************************
30 * Macro *
31 *************************************************************************/
32
33
34/**************************************************************************
35 * Types *
36 **************************************************************************/
37
38typedef enum {
39 AUDIO_MANAGER_RESOURCE_VOICE=0, /* 0 */
40 AUDIO_MANAGER_RESOURCE_VOLTE, /* 1*/
41 AUDIO_MANAGER_RESOURCE_TONE_IN_SPEECH, /* 2 */
42 AUDIO_MANAGER_RESOURCE_AUDIO, /* 3*/
43 AUDIO_MANAGER_RESOURCE_FM, /* 4 */
44
45 MAX_AUDIO_MANAGER_RESOURCE
46} T_ZDrvAudioM_Resource;
47
48
49
50
51
52
53/**************************************************************************
54 * Global Variable *
55 **************************************************************************/
56
57
58
59extern SINT32 zDrvAudioM_GetResource(T_ZDrvAudioM_Resource res);
60extern SINT32 zDrvAudioM_FreeResource(T_ZDrvAudioM_Resource res);
61
62
63#endif /* _DRVS_AUDIOM_H */
64