| /****************************************************************************** |
| * |
| * (C)Copyright 2022 ASRMicro. All Rights Reserved. |
| * |
| * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ASRMicro. |
| * The copyright notice above does not evidence any actual or intended |
| * publication of such source code. |
| * This Module contains Proprietary Information of ASRMicro and should be |
| * treated as Confidential. |
| * The information in this file is provided for the exclusive use of the |
| * licensees of ASRMicro. |
| * Such users have the right to use, modify, and incorporate this code into |
| * products for purposes authorized by the license agreement provided they |
| * include this notice and the associated copyright notice with any such |
| * product. |
| * The information in this file is provided "AS IS" without warranty. |
| * |
| ******************************************************************************/ |
| |
| |
| /****************************************************************************** |
| * Macro definitions |
| ******************************************************************************/ |
| #ifndef __AUDIO_PA_H__ |
| #define __AUDIO_PA_H__ |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| |
| /****************************************************************************** |
| * Data structure definitions |
| ******************************************************************************/ |
| typedef enum { |
| AUDIO_PA_NONE = 0, |
| AUDIO_PA_VOICE, |
| AUDIO_PA_MEDIA, |
| AUDIO_PA_ALL, |
| |
| AUDIO_PA_CNT |
| } AUDIO_PA_TYPE; |
| |
| |
| /****************************************************************************** |
| * Global function definitions |
| ******************************************************************************/ |
| extern int audio_pa_init(void); |
| extern int audio_pa_enable(AUDIO_PA_TYPE type); |
| extern int audio_pa_disable(AUDIO_PA_TYPE type); |
| extern void audio_pa_exit(void); |
| |
| |
| /****************************************************************************** |
| * End |
| ******************************************************************************/ |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif //__AUDIO_PA_H__ |