view src/cs/services/dar/dar_msg_ft.h @ 660:293c7db5f10f

bmi3: fixed the mysterious "mute on first call" bug When UI-enabled fw boots on a previously blank (no /mmi/* files) FFS for the first time, the output_volume member of the persistent UI settings structure was left uninitialized, corresponding to the earpiece volume being set to mute, which is an invalid setting. Because of other quirks in the far-from-finished UI code, this volume setting takes effect only when the first call is answered, producing the odd behaviour seen at the user level. The current fix is to set the blank-FFS default for output_volume to volume level 4, which is the same -6 dB Iota volume as the ACI default.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 14 May 2020 02:50:41 +0000
parents 945cf7f506b2
children
line wrap: on
line source

/****************************************************************************/
/*                                                                          */
/*  File Name:  dar_msg_ft.h                                                */
/*                                                                          */
/*  Purpose:   This function contains the functions prototypes of the DAR   */ 
/*             entity messages functions.                                   */
/*                                                                          */
/*  Version   0.1                                                           */
/*                                                                          */
/*  Date                 Modification                                       */
/*  ------------------------------------                                    */
/*  17 October 2001    Create                                               */
/*                                                                          */
/*  Author     Stephanie Gerthoux                                           */
/*                                                                          */
/* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/
/****************************************************************************/

#include "rv/rv_defined_swe.h"
#ifdef RVM_DAR_SWE

   #ifndef __DAR_MSG_FT_H_
   #define __DAR_MSG_FT_H_

   #include "rvm/rvm_gen.h"

   /* Functions prototypes */
   T_RV_RET dar_filter_request (T_DAR_FILTER_START *msg_p);
   T_RV_RET dar_empty_mb_and_save_data(  T_DAR_INFO    *buffer_p);
   T_RV_RET dar_write_data_in_buffer( T_DAR_WRITE_START *msg_p);


   #endif /* __DAR_MSG_FT_H_ */

#endif /* #ifdef RVM_DAR_SWE */