b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /****************************************************************************** |
| 2 | * |
| 3 | * (C)Copyright 2022 ASRMicro. All Rights Reserved. |
| 4 | * |
| 5 | * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ASRMicro. |
| 6 | * The copyright notice above does not evidence any actual or intended |
| 7 | * publication of such source code. |
| 8 | * This Module contains Proprietary Information of ASRMicro and should be |
| 9 | * treated as Confidential. |
| 10 | * The information in this file is provided for the exclusive use of the |
| 11 | * licensees of ASRMicro. |
| 12 | * Such users have the right to use, modify, and incorporate this code into |
| 13 | * products for purposes authorized by the license agreement provided they |
| 14 | * include this notice and the associated copyright notice with any such |
| 15 | * product. |
| 16 | * The information in this file is provided "AS IS" without warranty. |
| 17 | * |
| 18 | ******************************************************************************/ |
| 19 | |
| 20 | |
| 21 | /****************************************************************************** |
| 22 | * Macro definitions |
| 23 | ******************************************************************************/ |
| 24 | #ifndef __AUDIO_PA_H__ |
| 25 | #define __AUDIO_PA_H__ |
| 26 | |
| 27 | #ifdef __cplusplus |
| 28 | extern "C" { |
| 29 | #endif |
| 30 | |
| 31 | |
| 32 | /****************************************************************************** |
| 33 | * Data structure definitions |
| 34 | ******************************************************************************/ |
| 35 | typedef enum { |
| 36 | AUDIO_PA_NONE = 0, |
| 37 | AUDIO_PA_VOICE, |
| 38 | AUDIO_PA_MEDIA, |
| 39 | AUDIO_PA_ALL, |
| 40 | |
| 41 | AUDIO_PA_CNT |
| 42 | } AUDIO_PA_TYPE; |
| 43 | |
| 44 | |
| 45 | /****************************************************************************** |
| 46 | * Global function definitions |
| 47 | ******************************************************************************/ |
| 48 | extern int audio_pa_init(void); |
| 49 | extern int audio_pa_enable(AUDIO_PA_TYPE type); |
| 50 | extern int audio_pa_disable(AUDIO_PA_TYPE type); |
| 51 | extern void audio_pa_exit(void); |
| 52 | |
| 53 | |
| 54 | /****************************************************************************** |
| 55 | * End |
| 56 | ******************************************************************************/ |
| 57 | #ifdef __cplusplus |
| 58 | } |
| 59 | #endif |
| 60 | |
| 61 | #endif //__AUDIO_PA_H__ |