comparison src/g23m-aci/aci/hl_audio_drv.h @ 1:fa8dc04885d8

src/g23m-*: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:25:50 +0000
parents
children
comparison
equal deleted inserted replaced
0:4e78acac3d88 1:fa8dc04885d8
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-PS (6147)
4 | Modul : AOC
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : Definitions for high level driver for vocoder interface
18 +-----------------------------------------------------------------------------
19 */
20
21 #ifndef HL_VOICE_DRV_H
22 #define HL_VOICE_DRV_H
23
24 typedef enum
25 {
26 HL_VOICE_DRV_FAIL,
27 HL_VOICE_DRV_SUCC
28
29 } T_HL_VOICE_DRV_RSLT;
30
31
32 typedef enum
33 {
34 #ifndef VOCODER_FUNC_INTERFACE
35 HL_VOCODER_DISABLE_INITIATED,
36 HL_VOCODER_ENABLE_INITIATED,
37 #endif
38 HL_VOCODER_DISABLED,
39 HL_VOCODER_ENABLED
40
41 } T_HL_VOCODER_STATE;
42
43 #ifdef VOCODER_FUNC_INTERFACE
44 typedef enum
45 {
46 VOCODER_IDLE = 0,
47 VOCODER_BUSY,
48 VOCODER_PENDING_ENABLE,
49 VOCODER_PENDING_DISABLE
50 }T_HL_VOCODER_ACTION;
51
52 EXTERN T_HL_VOCODER_ACTION currVocoderAction;
53 #endif /* VOCODER_FUNC_INTERFACE */
54
55 EXTERN void hl_audio_drv_init (void);
56 EXTERN T_HL_VOCODER_STATE hl_drv_get_vocoder_state (void);
57 EXTERN void hl_drv_vocoder_state_set (void);
58 EXTERN void hl_drv_set_vocoder_state(BOOL);
59
60 #endif /* HL_VOICE_DRV_H */