changeset 126:03375c220570

mmiSounds.h: bogotab and C1 character fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 10 Nov 2020 06:34:39 +0000
parents 87d2aa0ddde5
children d80ee234a573
files src/ui/bmi/mmiSounds.h
diffstat 1 files changed, 75 insertions(+), 76 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui/bmi/mmiSounds.h	Tue Nov 10 06:25:29 2020 +0000
+++ b/src/ui/bmi/mmiSounds.h	Tue Nov 10 06:34:39 2020 +0000
@@ -3,7 +3,7 @@
 
 /*******************************************************************************
 
-					CONDAT (UK)
+                    CONDAT (UK)
 
 ********************************************************************************
 
@@ -12,14 +12,14 @@
 
 ********************************************************************************
 
- $Project name:	Basic MMI
- $Project code:	BMI (6349)
- $Module:		Sounds
- $File:		    MmiSounds.h
- $Revision:		1.0
+ $Project name: Basic MMI
+ $Project code: BMI (6349)
+ $Module:       Sounds
+ $File:         MmiSounds.h
+ $Revision:     1.0
 
- $Author:		Condat(UK)
- $Date:		    25/10/00
+ $Author:       Condat(UK)
+ $Date:         25/10/00
 
 ********************************************************************************
 
@@ -27,45 +27,45 @@
 
     This provides the implementation of the sounds for the basic MMI
 
-		1. Playing various system sounds such as the paging ring,
-		   new sms message etc.
-		2. The menus used to enable or disable the system sounds
-		3. The menu used to select the paging ring tone
-		4. The menu used to select the volume.
-		5. The menu used to select the key press tone or dtmf
+        1. Playing various system sounds such as the paging ring,
+           new sms message etc.
+        2. The menus used to enable or disable the system sounds
+        3. The menu used to select the paging ring tone
+        4. The menu used to select the volume.
+        5. The menu used to select the key press tone or dtmf
 
-	The mmi should play system sounds by calling soundExec with the appropriate
-	SoundsXXXX message it is possible to go directly to the audio driver to play
-	a sound but this will bypass any user settings to turn sounds on or off.
+    The mmi should play system sounds by calling soundExec with the appropriate
+    SoundsXXXX message it is possible to go directly to the audio driver to play
+    a sound but this will bypass any user settings to turn sounds on or off.
 
-	The MelodySelect and SettingXXXX messages are used to control the key events
-	during menu handling, entry to the sounds menus is through the soundsXXXX
-	functions. These display the appropriate menu and handle the keypad events.
+    The MelodySelect and SettingXXXX messages are used to control the key events
+    during menu handling, entry to the sounds menus is through the soundsXXXX
+    functions. These display the appropriate menu and handle the keypad events.
 
-	The settings are read from PCM on startup and saved whenever a setting menu
-	is selected.
+    The settings are read from PCM on startup and saved whenever a setting menu
+    is selected.
 
 ********************************************************************************
  $History: MmiSounds.h
 
-	25/10/00			Original Condat(UK) BMI version.
+    25/10/00            Original Condat(UK) BMI version.
 
-	Nov 04, 2005    REF:DRT OMAPS00053737  xdeepadh
-	Description:   MIDI Ringer Linear Flash Support.
-	Solution: The Midi Ringer application has been enhanced to loadand play the midi files from LFS.
+    Nov 04, 2005    REF:DRT OMAPS00053737  xdeepadh
+    Description:   MIDI Ringer Linear Flash Support.
+    Solution: The Midi Ringer application has been enhanced to loadand play the midi files from LFS.
 
-	Apr 05, 2005    REF: ENH 29994 xdeepadh
-	Description: Implementation of Generic Midi Ringer and Modification of existing Midi Test Application
-	Solution: Generic Midi Ringer and Midi Test Application were implemented.
+    Apr 05, 2005    REF: ENH 29994 xdeepadh
+    Description: Implementation of Generic Midi Ringer and Modification of existing Midi Test Application
+    Solution: Generic Midi Ringer and Midi Test Application were implemented.
 
-	Nov 29, 2004    REF: CRR 25051 xkundadu
-	Description: INCALL SCREEN – ADJUSTING THE VOLUME
-	Fix: Added volume level list linked to up/down keys.
-	User can select the speaker volume among those levels.
+    Nov 29, 2004    REF: CRR 25051 xkundadu
+    Description: INCALL SCREEN - ADJUSTING THE VOLUME
+    Fix: Added volume level list linked to up/down keys.
+    User can select the speaker volume among those levels.
 
-	Dec 23, 2005  REF: SR13878 x0020906
-	Description:  Set Default ring tone value.
-	Fix : Added a function setDefaultSound ()
+    Dec 23, 2005  REF: SR13878 x0020906
+    Description:  Set Default ring tone value.
+    Fix : Added a function setDefaultSound ()
 
  $End
 
@@ -93,64 +93,63 @@
 #define MIDI_MAX_FILES 10
 
 
-
 /* Provide message ids for the messages we will deal with in
    the sounds module.
 */
 typedef enum
 {
-	SoundsNone = SoundsDummy,
-	SoundsStop,
-	SoundsPagingStart,
-	SoundsMuteClick,
-	SoundsRingAlarm,
-	SoundsRingOrganiser,
-	SoundsCreditRing,
-	SoundsSMSRing,
-	SoundsSMSBroadcast,
-	SoundsErrorTone,
-	SoundsBattLowIdle,
-	SoundsBattLowDedic,
-	SoundsConnCharger,
-	SoundsDisconnCharger,
-	SoundsSwitchOff,
-	MelodySelect,
-	SettingVibrator,
-	SettingKeypadTone,
-	SettingSMSTone,
-	SettingSMSBroadcastTone,
-	SettingBatteryLowBeep,
-	SettingCreditLowBeep,
-	SettingOrganiserAlert,
-	SettingAlarm,
-	SettingVolume,
-	SettingLanguage,
-	SoundsDone,
-	SoundsCancel
+    SoundsNone = SoundsDummy,
+    SoundsStop,
+    SoundsPagingStart,
+    SoundsMuteClick,
+    SoundsRingAlarm,
+    SoundsRingOrganiser,
+    SoundsCreditRing,
+    SoundsSMSRing,
+    SoundsSMSBroadcast,
+    SoundsErrorTone,
+    SoundsBattLowIdle,
+    SoundsBattLowDedic,
+    SoundsConnCharger,
+    SoundsDisconnCharger,
+    SoundsSwitchOff,
+    MelodySelect,
+    SettingVibrator,
+    SettingKeypadTone,
+    SettingSMSTone,
+    SettingSMSBroadcastTone,
+    SettingBatteryLowBeep,
+    SettingCreditLowBeep,
+    SettingOrganiserAlert,
+    SettingAlarm,
+    SettingVolume,
+    SettingLanguage,
+    SoundsDone,
+    SoundsCancel
 } SoundSettingState;
 
 //    Nov 29, 2004    REF: CRR 25051 xkundadu
-//    Description: INCALL SCREEN – ADJUSTING THE VOLUME
+//    Description: INCALL SCREEN - ADJUSTING THE VOLUME
 //    Fix: Added these enum variables corresponds to speaker volume evels.
 //          Maximum value allowed is 255 and minimum value is 1. So eqully divided into
-//		five levels.
+//      five levels.
 typedef enum
 {
-	OutVolumeLevel1 = 1,
-	OutVolumeLevel2 = 60,
-	OutVolumeLevel3 = 125,
-	OutVolumeLevel4 =190,
-	OutVolumeLevel5 = 255
+    OutVolumeLevel1 = 1,
+    OutVolumeLevel2 = 60,
+    OutVolumeLevel3 = 125,
+    OutVolumeLevel4 = 190,
+    OutVolumeLevel5 = 255
 } T_OUT_VOLUME_LEVEL;
 
 typedef struct
 {
   T_MMI_CONTROL    mmi_control;
-  T_MFW_HND        sounds_win; 				   /* MFW win handler      */
+  T_MFW_HND        sounds_win;             /* MFW win handler      */
   T_MFW_HND        parent;
   T_MFW_HND        melody_handler;         /* MFW sms handler      */
-  unsigned char      local_status;
-  ListMenuData     * menu_list_data;
+  unsigned char    local_status;
+  ListMenuData    *menu_list_data;
 } T_MELODY_INFO;
 
 #ifdef FF_MIDI_RINGER
@@ -213,7 +212,7 @@
 void setSoundsReason(USHORT reason);
 
 //    Nov 29, 2004    REF: CRR 25051 xkundadu
-//    Description: INCALL SCREEN – ADJUSTING THE VOLUME
+//    Description: INCALL SCREEN - ADJUSTING THE VOLUME
 //    Fix: Prototypes for the volume setting functions.
 void SetVolumeLevel1(void);
 void SetVolumeLevel2(void);