comparison chipsetsw/services/Audio/audio_compatibilities.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /****************************************************************************/
2 /* */
3 /* File Name: audio_compatibilities.h */
4 /* */
5 /* Purpose: This file contains the compatibilities table between the */
6 /* audio feature as describe in the S916 specification (annex) */
7 /* */
8 /* Version 0.1 */
9 /* */
10 /* Date Modification */
11 /* ------------------------------------ */
12 /* 12 November 2001 Create */
13 /* */
14 /* Author Francois Mazard */
15 /* */
16 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/
17 /****************************************************************************/
18
19 #include "rv/rv_defined_swe.h"
20 #ifdef RVM_AUDIO_MAIN_SWE
21
22 #ifndef __AUDIO_COMPATIBILITIES_H_
23 #define __AUDIO_COMPATIBILITIES_H_
24
25 #ifdef __cplusplus
26 extern "C"
27 {
28 #endif
29
30 /* Define the number of audio features */
31 #define AUDIO_NUMBER_OF_FEATURES (13)
32
33 typedef struct {
34 BOOLEAN feature[AUDIO_NUMBER_OF_FEATURES];
35 } T_AUDIO_ACTIVE_FEATURE;
36
37 /* Define the list of the audio features */
38 #define AUDIO_KEYBEEP_FEATURE (0)
39 #define AUDIO_TONES_FEATURE (1)
40 #define AUDIO_MELODY_E1_FEATURE (2)
41 #define AUDIO_VOICE_MEMO_PLAY_FEATURE (3)
42 #define AUDIO_VOICE_MEMO_RECORD_FEATURE (4)
43 #define AUDIO_SR_ENROLL_FEATURE (5)
44 #define AUDIO_SR_UPDATE_FEATURE (6)
45 #define AUDIO_SR_RECO_FEATURE (7)
46 #define AUDIO_MELODY_E2_FEATURE (8)
47 #define AUDIO_TTY_FEATURE (9)
48 #define AUDIO_VOICE_MEMO_AMR_PLAY_FEATURE (10)
49 #define AUDIO_VOICE_MEMO_AMR_RECORD_FEATURE (11)
50 #define AUDIO_MIDI_FEATURE (12)
51
52 /* It isn't a starting message */
53 #define AUDIO_NO_START_MESSAGE (-1)
54
55 typedef struct {
56 BOOLEAN compatibilities_flag[AUDIO_NUMBER_OF_FEATURES];
57 } T_AUDIO_COMPATIBILITES;
58
59 #ifdef __cplusplus
60 }
61 #endif
62
63 #endif /* __AUDIO_COMPATIBILITIES_H_ */
64 #endif /* #ifdef RVM_AUDIO_MAIN_SWE */