FreeCalypso > hg > fc-tourmaline
changeset 177:2cd1c1abdbb5
mmiSounds.c: basic white space fixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 19 Jan 2021 03:44:17 +0000 |
parents | 6486d17f0f25 |
children | 053ff6a94961 |
files | src/ui/bmi/mmiSounds.c |
diffstat | 1 files changed, 33 insertions(+), 39 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ui/bmi/mmiSounds.c Tue Jan 19 03:35:19 2021 +0000 +++ b/src/ui/bmi/mmiSounds.c Tue Jan 19 03:44:17 2021 +0000 @@ -11,12 +11,12 @@ $Project name: Basic MMI $Project code: BMI (6349) - $Module: Sounds - $File: MmiSounds.c - $Revision: 1.0 - - $Author: Condat(UK) - $Date: 25/10/00 + $Module: Sounds + $File: MmiSounds.c + $Revision: 1.0 + + $Author: Condat(UK) + $Date: 25/10/00 ******************************************************************************** @@ -48,30 +48,30 @@ Apr 09, 2008 DRT: OMAPS00163752 including changes from OMAPS00151417 x0086292 Description: Rapid Scrolling of Ringer melodies will lockup phone Solution: Board froze when sending to many messages to AS task to stop audio, which froze - the board whenever there were too many messages in queue. Instead we can check if - audio is being played internally before sending stop message. + the board whenever there were too many messages in queue. Instead we can check if + audio is being played internally before sending stop message. Nov 06, 2007 DRT: OMAPS00151698 x0056422 Description: BMI requirments needed to support Bluetooth AVRCP in Locosto 5.x Solution : In mfw_audResume, Pause, Stop functions, if BT is connected, send a callback. - In the case of audio play, handle the callback of START_IND from audio task and - post a callback to BT if expected. + In the case of audio play, handle the callback of START_IND from audio task and + post a callback to BT if expected. August 01, 2007 DR: OMAPS00137399 x0080701 (Bharat) Description: COMBO PLUS: Voice can not be heard in a call when MP3 tone was set - Have an MP3 tone set as Ringer. Make a call to the target. - Accept the same, no voice can be heard from the calling - device or from the board that received + Have an MP3 tone set as Ringer. Make a call to the target. + Accept the same, no voice can be heard from the calling + device or from the board that received Issue: Timing Synchronization Issue between BMI-ACI-L1. - BMI calls sAT_A to accept the call. ACI then sends the RING_OFF signal - to BMI, wherein BMI does a Ringer Stop. After this, ACI calls Vocoder - Enable. However, the Ringer Stop goes to L1 much later after Vocoder - Enable reaches L1 due to which the Vocoder eventually gets disabled. + BMI calls sAT_A to accept the call. ACI then sends the RING_OFF signal + to BMI, wherein BMI does a Ringer Stop. After this, ACI calls Vocoder + Enable. However, the Ringer Stop goes to L1 much later after Vocoder + Enable reaches L1 due to which the Vocoder eventually gets disabled. Solution: The Vocoder Enable Implementation is removed from ACI and - shall be called by BMI on receipt of AS_STOP_IND - (AS_STOP_IND is the message sent by AS to BMI when BMI invokes - as_stop for ringer_stop). This way, it is assured that the Vocoder - Enable Request reaches L1 only after Ringer Stop is completely done + shall be called by BMI on receipt of AS_STOP_IND + (AS_STOP_IND is the message sent by AS to BMI when BMI invokes + as_stop for ringer_stop). This way, it is assured that the Vocoder + Enable Request reaches L1 only after Ringer Stop is completely done April 25, 2007 DVT: OMAPS128828 x0061088(Prachi) Description: E1 Melody support @@ -92,7 +92,7 @@ Nov 07, 2006 ER: OMAPS00102732 x0pleela Description: FFS Support for Intel Sibley Flash - Intel 256+64 non-ADMUX (PF38F4050M0Y0C0Q) Solution: Closing the opened directory if readdir is not successful and the new code - is under the compilation flag FF_MMI_RELIANCE_FFS + is under the compilation flag FF_MMI_RELIANCE_FFS 25/10/00 Original Condat(UK) BMI version. @@ -159,7 +159,7 @@ Dec 23, 2005 REF: SR13873 x0020906 Description: Selection configurable ring tones. Added for NEPTUNE Fix: When moving cursor in menu, stop old and play new ringtone. - When press of back / clear / hang up stop playing the ringtone. + When press of back / clear / hang up stop playing the ringtone. Initially when the get into list, start playing first ringtone - As cursor is positioned. $End @@ -226,7 +226,6 @@ #include "dspl.h" - #include "p_mmi.h" #include "message.h" #include "prim.h" @@ -331,11 +330,11 @@ /* END - RAVI - 20-1-2005 */ #endif -#define SILENT_VOLUME 0 -#define LOW_VOLUME 5 +#define SILENT_VOLUME 0 +#define LOW_VOLUME 5 #define MEDIUM_VOLUME 25 -#define HIGH_VOLUME 175 -#define INCREASE_VOLUME 5 +#define HIGH_VOLUME 175 +#define INCREASE_VOLUME 5 /* define an invalid tone marker @@ -427,7 +426,7 @@ static void melody_destroy(MfwHnd own_window); static MfwHnd sounds_show_info(T_MFW_HND parent, int str1, int str2, T_VOID_FUNC callback); -#define SHOW_CONFIRM 3 +#define SHOW_CONFIRM 3 #define ACTIVATE_CONFIRM 4 #define DEACTIVATE_CONFIRM 5 @@ -511,14 +510,13 @@ E_BACK, E_ABORT, E_EXIT, - E_RETURN, - E_OK + E_RETURN, + E_OK } e_M_events; T_MELODY_INFO sounds_data; - /******************************************************************************* Module local variables @@ -578,8 +576,7 @@ (U8) -1, /* use default font */ NULL, /* with these items */ 0, /* number of items */ - COLOUR_LIST_XX, TxtNull, NULL, MNUATTRSPARE - + COLOUR_LIST_XX, TxtNull, NULL, MNUATTRSPARE }; @@ -593,8 +590,8 @@ *$Function: setDefaultSound * *$Description: This function will read from Flash during boot up and updated the -* current ringer structure. So after reset the stored tones will get -* played. +* current ringer structure. So after reset the stored tones will get +* played. * *$Returns: none * @@ -773,11 +770,9 @@ { scrollSelectMenuItem = FALSE; } - } - /******************************************************************************* $Function: IdleScreenVolumeTimer @@ -1185,7 +1180,6 @@ } - } #endif