comparison src/g23m-aci/aci/hl_audio_drv.h @ 162:53929b40109c

src/g23m-aci: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2016 02:02:43 +0000
parents
children
comparison
equal deleted inserted replaced
161:4557e2a9c18e 162:53929b40109c
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 */