blob: 853c9cc8bb3280eb14b582f1392fa42b85d85cf8 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/******************************************************************************
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
28extern "C" {
29#endif
30
31
32/******************************************************************************
33* Data structure definitions
34******************************************************************************/
35typedef 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******************************************************************************/
48extern int audio_pa_init(void);
49extern int audio_pa_enable(AUDIO_PA_TYPE type);
50extern int audio_pa_disable(AUDIO_PA_TYPE type);
51extern void audio_pa_exit(void);
52
53
54/******************************************************************************
55* End
56******************************************************************************/
57#ifdef __cplusplus
58}
59#endif
60
61#endif //__AUDIO_PA_H__