FreeCalypso > hg > fc-magnetite
comparison src/cs/services/Audio/audio_error_hdlr_i.h @ 0:945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
binary blobs and LCD demo files have been excluded,
all line endings are LF only
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 25 Sep 2016 22:50:11 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:945cf7f506b2 |
---|---|
1 /****************************************************************************/ | |
2 /* */ | |
3 /* File Name: audio_error_hdlr_i.h */ | |
4 /* */ | |
5 /* Purpose: This file contains routines used to report unrecoverable */ | |
6 /* memory errors that might occur. */ | |
7 /* */ | |
8 /* Version 0.1 */ | |
9 /* */ | |
10 /* Date Modification */ | |
11 /* ------------------------------------------------------------------------*/ | |
12 /* 14 May 2001 Create */ | |
13 /* */ | |
14 /* Author Francois Mazard - Stephanie Gerthoux */ | |
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 #ifndef _AUDIO_ERROR_HDLR_I_H | |
22 #define _AUDIO_ERROR_HDLR_I_H | |
23 | |
24 #include "l1_confg.h" | |
25 | |
26 /* error trace functions prototypes */ | |
27 #if (KEYBEEP) | |
28 void audio_keybeep_error_trace(UINT8 error_id); | |
29 #endif | |
30 | |
31 #if (TONE) | |
32 void audio_tones_error_trace(UINT8 error_id); | |
33 #endif | |
34 | |
35 #if (MELODY_E1) | |
36 void audio_melody_E1_error_trace(UINT8 error_id); | |
37 #endif | |
38 | |
39 #if (MELODY_E2) | |
40 void audio_melody_E2_error_trace(UINT8 error_id); | |
41 #endif | |
42 | |
43 #if (VOICE_MEMO) | |
44 void audio_voice_memo_error_trace(UINT8 error_id); | |
45 #endif | |
46 | |
47 void audio_mode_error_trace(UINT8 error_id); | |
48 | |
49 #if (SPEECH_RECO) | |
50 void audio_sr_error_trace(UINT8 error_id); | |
51 #endif | |
52 | |
53 #if (MELODY_E1) || (VOICE_MEMO) || (SPEECH_RECO) | |
54 void audio_ffs_error_trace(UINT8 error_id); | |
55 #endif | |
56 | |
57 #if (L1_VOICE_MEMO_AMR) | |
58 void audio_voice_memo_amr_error_trace(UINT8 error_id); | |
59 #endif | |
60 | |
61 #if (L1_AUDIO_DRIVER) | |
62 void audio_driver_error_trace(UINT8 error_id); | |
63 #endif | |
64 | |
65 #if (AUDIO_MEM_MANAGER) | |
66 void audio_mem_error_trace(UINT8 error_id); | |
67 #endif | |
68 | |
69 /* extern prototype */ | |
70 extern void audio_error_trace(UINT8 error_id); | |
71 | |
72 #if (L1_MIDI==1) | |
73 void audio_midi_error_trace(UINT8 error_id); | |
74 #endif | |
75 | |
76 /* Id of the error trace */ | |
77 #define AUDIO_ENTITY_NOT_START (0) | |
78 #define AUDIO_ENTITY_NO_MEMORY (1) | |
79 #define AUDIO_ERROR_STOP_EVENT (2) | |
80 #define AUDIO_ERROR_START_EVENT (3) | |
81 #define AUDIO_ERROR_INIT_EVENT (4) | |
82 #define AUDIO_ERROR_FREE_EVENT (5) | |
83 #define AUDIO_ENTITY_BAD_PARAMETER (6) | |
84 #define AUDIO_ENTITY_BAD_MESSAGE (7) | |
85 #define AUDIO_ERROR_MODE (8) | |
86 #define AUDIO_ENTITY_FILE_ERROR (9) | |
87 #define AUDIO_ENTITY_FILE_NO_SAVED (10) | |
88 #define AUDIO_ENTITY_FILE_ALREADY_EXIST (11) | |
89 #define AUDIO_ENTITY_FILE_NO_CLOSE (12) | |
90 #define AUDIO_ENTITY_SPEECH_NO_SAVED (13) | |
91 #define AUDIO_ENTITY_MODEL_NO_SAVED (14) | |
92 #define AUDIO_ENTITY_BAD_DATABASE (15) | |
93 #define AUDIO_ENTITY_MODEL_NO_LOAD (16) | |
94 #define AUDIO_ENTITY_AUDIO_MODE_NO_LOADED (17) | |
95 #define AUDIO_ERROR_DOWNLOAD (18) | |
96 #define AUDIO_ERROR_NOT_DOWNLOAD (19) | |
97 #define AUDIO_ENTITY_LOAD_FILE_INSTR_ERROR (20) | |
98 #define AUDIO_ERROR_INSTRUMENT_SIZE (21) | |
99 #define AUDIO_FEATURE_NOT_COMPILED (22) | |
100 #define AUDIO_ERROR_L1_START_EVENT (23) | |
101 #define AUDIO_ERROR_L1_STOP_EVENT (24) | |
102 #endif | |
103 #endif /* #ifdef RVM_AUDIO_MAIN_SWE */ |