annotate src/ui/bmi/mmiSounds.h @ 275:79cfefc1e2b4

audio mode load: gracefully handle mode files of wrong AEC version Unfortunately our change of enabling L1_NEW_AEC (which is necessary in order to bring our Calypso ARM fw into match with the underlying DSP reality) brings along a change in the audio mode file binary format and file size - all those new tunable AEC parameters do need to be stored somewhere, after all. But we already have existing mode files in the old format, and setting AEC config to garbage when loading old audio modes (which is what would happen without the present change) is not an appealing proposition. The solution implemented in the present change is as follows: the audio mode loading code checks the file size, and if it differs from the active version of T_AUDIO_MODE, the T_AUDIO_AEC_CFG structure is cleared - set to the default (disabled AEC) for the compiled type of AEC. We got lucky in that this varying T_AUDIO_AEC_CFG structure sits at the end of T_AUDIO_MODE!
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Jul 2021 02:55:48 +0000
parents 62480f597962
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #ifndef _MMI_SOUNDS_H_
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 #define _MMI_SOUNDS_H_ 1
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 /*******************************************************************************
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
6 CONDAT (UK)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
8 ********************************************************************************
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 This software product is the property of Condat (UK) Ltd and may not be
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
11 disclosed to any third party without the express permission of the owner.
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
12
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 ********************************************************************************
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
15 $Project name: Basic MMI
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
16 $Project code: BMI (6349)
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
17 $Module: Sounds
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
18 $File: MmiSounds.h
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
19 $Revision: 1.0
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
20
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
21 $Author: Condat(UK)
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
22 $Date: 25/10/00
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
23
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 ********************************************************************************
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
25
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 Description:
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 This provides the implementation of the sounds for the basic MMI
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
29
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
30 1. Playing various system sounds such as the paging ring,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
31 new sms message etc.
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
32 2. The menus used to enable or disable the system sounds
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
33 3. The menu used to select the paging ring tone
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
34 4. The menu used to select the volume.
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
35 5. The menu used to select the key press tone or dtmf
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
37 The mmi should play system sounds by calling soundExec with the appropriate
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
38 SoundsXXXX message it is possible to go directly to the audio driver to play
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
39 a sound but this will bypass any user settings to turn sounds on or off.
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
41 The MelodySelect and SettingXXXX messages are used to control the key events
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
42 during menu handling, entry to the sounds menus is through the soundsXXXX
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
43 functions. These display the appropriate menu and handle the keypad events.
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
45 The settings are read from PCM on startup and saved whenever a setting menu
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
46 is selected.
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
47
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 ********************************************************************************
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 $History: MmiSounds.h
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
51 25/10/00 Original Condat(UK) BMI version.
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
53 Nov 04, 2005 REF:DRT OMAPS00053737 xdeepadh
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
54 Description: MIDI Ringer Linear Flash Support.
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
55 Solution: The Midi Ringer application has been enhanced to loadand play the midi files from LFS.
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
57 Apr 05, 2005 REF: ENH 29994 xdeepadh
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
58 Description: Implementation of Generic Midi Ringer and Modification of existing Midi Test Application
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
59 Solution: Generic Midi Ringer and Midi Test Application were implemented.
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
61 Nov 29, 2004 REF: CRR 25051 xkundadu
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
62 Description: INCALL SCREEN - ADJUSTING THE VOLUME
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
63 Fix: Added volume level list linked to up/down keys.
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
64 User can select the speaker volume among those levels.
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
65
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
66 Dec 23, 2005 REF: SR13878 x0020906
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
67 Description: Set Default ring tone value.
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
68 Fix : Added a function setDefaultSound ()
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 $End
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 *******************************************************************************/
134
62480f597962 bmi headers: include case fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 126
diff changeset
73 #include "mmiLists.h"
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
75 #ifdef FF_MIDI_RINGER
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 #include "general.h"
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 #endif
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 /*******************************************************************************
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
79
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 Basic definitions
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
81
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 *******************************************************************************/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 /* Redefine the alloc and free memory routines for use in the sounds
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 module.
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 #define ALLOC_MEMORY mfwAlloc
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 #define FREE_MEMORY mfwFree
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 /* Apr 05, 2005 REF: ENH 29994 xdeepadh */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 /* Maximum files to be displayed in the MMI */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93 #define MIDI_MAX_FILES 10
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96 /* Provide message ids for the messages we will deal with in
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 the sounds module.
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98 */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99 typedef enum
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
100 {
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
101 SoundsNone = SoundsDummy,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
102 SoundsStop,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
103 SoundsPagingStart,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
104 SoundsMuteClick,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
105 SoundsRingAlarm,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
106 SoundsRingOrganiser,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
107 SoundsCreditRing,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
108 SoundsSMSRing,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
109 SoundsSMSBroadcast,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
110 SoundsErrorTone,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
111 SoundsBattLowIdle,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
112 SoundsBattLowDedic,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
113 SoundsConnCharger,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
114 SoundsDisconnCharger,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
115 SoundsSwitchOff,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
116 MelodySelect,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
117 SettingVibrator,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
118 SettingKeypadTone,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
119 SettingSMSTone,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
120 SettingSMSBroadcastTone,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
121 SettingBatteryLowBeep,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
122 SettingCreditLowBeep,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
123 SettingOrganiserAlert,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
124 SettingAlarm,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
125 SettingVolume,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
126 SettingLanguage,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
127 SoundsDone,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
128 SoundsCancel
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
129 } SoundSettingState;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
130
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
131 // Nov 29, 2004 REF: CRR 25051 xkundadu
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
132 // Description: INCALL SCREEN - ADJUSTING THE VOLUME
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
133 // Fix: Added these enum variables corresponds to speaker volume evels.
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
134 // Maximum value allowed is 255 and minimum value is 1. So eqully divided into
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
135 // five levels.
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
136 typedef enum
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
137 {
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
138 OutVolumeLevel1 = 1,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
139 OutVolumeLevel2 = 60,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
140 OutVolumeLevel3 = 125,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
141 OutVolumeLevel4 = 190,
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
142 OutVolumeLevel5 = 255
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
143 } T_OUT_VOLUME_LEVEL;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
144
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
145 typedef struct
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
146 {
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
147 T_MMI_CONTROL mmi_control;
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
148 T_MFW_HND sounds_win; /* MFW win handler */
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
149 T_MFW_HND parent;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
150 T_MFW_HND melody_handler; /* MFW sms handler */
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
151 unsigned char local_status;
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
152 ListMenuData *menu_list_data;
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
153 } T_MELODY_INFO;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
154
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
155 #ifdef FF_MIDI_RINGER
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
156 typedef struct
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
157 {
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
158 const char* melody_name;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
159 const void* melody;
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
160 UINT32 melody_size;
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
161 } T_MELODY;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
162 #endif
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
163
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
164 /*******************************************************************************
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
165
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
166 Public Methods
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
167
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
168 *******************************************************************************/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
169
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
170 void soundInit( MfwHnd parent );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
171 void soundExit( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
172 void soundExec( int reason, MmiState next );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
173
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
174 /* functions setting the focus for entering configuration menus.
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
175 */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
176 #ifdef NEPTUNE_BOARD
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
177 void volumeMenuScrollUp(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
178 void volumeMenuScrollDown(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
179 void restorePreviousVolumeSetting(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
180 void volumeMenuStartPlaying(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
181 #endif
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
182
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
183 int settingsVibrator( MfwMnu* m, MfwMnuItem* i );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
184 int settingsLanguages( MfwMnu* m, MfwMnuItem* i );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
185 int soundsRinger( MfwMnu* m, MfwMnuItem* i );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
186 int soundsVolume( MfwMnu* m, MfwMnuItem* i );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
187
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
188 int soundsKeypadSilent(MfwMnu* m, MfwMnuItem* i);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
189 int soundsKeypadClick(MfwMnu* m, MfwMnuItem* i);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
190 int soundsKeypadDTMF(MfwMnu* m, MfwMnuItem* i);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
191
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
192 int soundsNewMessage( MfwMnu* m, MfwMnuItem* i );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
193 int soundsNewBroadcast( MfwMnu* m, MfwMnuItem* i );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
194 int soundsBatteryLow( MfwMnu* m, MfwMnuItem* i );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
195 int soundsCreditLow( MfwMnu* m, MfwMnuItem* i );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
196 int soundsOrganiser( MfwMnu* m, MfwMnuItem* i );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
197 int soundsAlarm( MfwMnu* m, MfwMnuItem* i );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
198
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
199 void soundReasonRinger(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
200 void soundReasonSmsTone(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
201 void soundReasonAlarm(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
202
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
203 void soundsVolSilent(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
204 void soundsVolLow(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
205 void soundsVolMedium(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
206 void soundsVolHigh(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
207 void soundsVolInc(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
208 void restoreSilentModeVolume(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
209 void setSilentModeVolume(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
210
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
211 UBYTE getCurrentVoulmeSettings(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
212 void setSoundsReason(USHORT reason);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
213
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
214 // Nov 29, 2004 REF: CRR 25051 xkundadu
126
03375c220570 mmiSounds.h: bogotab and C1 character fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
215 // Description: INCALL SCREEN - ADJUSTING THE VOLUME
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
216 // Fix: Prototypes for the volume setting functions.
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
217 void SetVolumeLevel1(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
218 void SetVolumeLevel2(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
219 void SetVolumeLevel3(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
220 void SetVolumeLevel4(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
221 void SetVolumeLevel5(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
222
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
223 /* Apr 05, 2005 REF: ENH 29994 xdeepadh */
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
224 #ifdef FF_MIDI_RINGER
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
225 int sounds_midi_return_file_number(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
226 char* sounds_midi_return_file_name(UBYTE index);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
227 /*a0393213 warnings removal-sounds_midi_return_memory_location function prototype put under FF_MIDI_LOAD_FROM_MEM flag*/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
228 #ifdef FF_MIDI_LOAD_FROM_MEM
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
229 T_MELODY sounds_midi_return_memory_location(UBYTE index);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
230 #endif
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
231 //Nov 04, 2005 REF:DRT OMAPS00053737 xdeepadh
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
232 int sounds_populate_midi_files(char **file_names, int max_files_count,char* dir_name_p);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
233 void sounds_midi_init(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
234 void sounds_midi_exit(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
235 void sounds_unpopulate_midi_files(char **file_names);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
236 void sounds_midi_ringer_start_cb(void *parameter);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
237 void sounds_midi_ringer_stop_cb(void *parameter);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
238 void sounds_midi_player_start_cb(void *parameter);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
239 void sounds_midi_player_stop_cb(void *parameter);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
240 int get_ringer_mode(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
241 void IdleScreenVolumeTimer();
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
242 char *sounds_midi_GetExtension(char *src);//Jul 20, 2005 REF: SPR 30772 xdeepadh
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
243
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
244 /* x0045876, 14-Aug-2006 (WR - function declared implicitly) */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
245 #else
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
246 int resource_GetListCount(res_ResourceID_type res);
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
247
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
248 #endif
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
249
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
250 /* Store into structure from FFS - RAVI - 23-12-2005 */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
251 #ifdef NEPTUNE_BOARD
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
252 void setDefaultSound(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
253 #endif
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
254
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
255 /* x0045876, 14-Aug-2006 (WR - getcurrentAlarmTone function declared implicitly) */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
256 UBYTE getcurrentAlarmTone(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
257
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
258 /*******************************************************************************
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
259
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
260 End of File
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
261
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
262 *******************************************************************************/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
263
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
264 #endif //_MMI_SOUNDS_H_