/*********************************************************************** | |
* Copyright (C) 2001, ZTE Corporation. | |
* | |
* File Name: drvs_audiomanager.h | |
* File Mark: | |
* Description: audio manager interface declaration. | |
* Others: | |
* Version: v1.0 | |
* Author: lvwenhua | |
* Date: 2016-07-07 | |
* | |
* History 1: | |
* Date: | |
* Version: | |
* Author: | |
* Modification: | |
* History 2: | |
**********************************************************************/ | |
#ifndef _DRVS_AUDIOM_H | |
#define _DRVS_AUDIOM_H | |
/************************************************************************* | |
* Include files * | |
*************************************************************************/ | |
#include "drvs_general.h" | |
/************************************************************************* | |
* Macro * | |
*************************************************************************/ | |
/************************************************************************** | |
* Types * | |
**************************************************************************/ | |
typedef enum { | |
AUDIO_MANAGER_RESOURCE_VOICE=0, /* 0 */ | |
AUDIO_MANAGER_RESOURCE_VOLTE, /* 1*/ | |
AUDIO_MANAGER_RESOURCE_TONE_IN_SPEECH, /* 2 */ | |
AUDIO_MANAGER_RESOURCE_AUDIO, /* 3*/ | |
AUDIO_MANAGER_RESOURCE_FM, /* 4 */ | |
MAX_AUDIO_MANAGER_RESOURCE | |
} T_ZDrvAudioM_Resource; | |
/************************************************************************** | |
* Global Variable * | |
**************************************************************************/ | |
extern SINT32 zDrvAudioM_GetResource(T_ZDrvAudioM_Resource res); | |
extern SINT32 zDrvAudioM_FreeResource(T_ZDrvAudioM_Resource res); | |
#endif /* _DRVS_AUDIOM_H */ | |