FreeCalypso > hg > fc-magnetite
view src/cs/services/atp/atp_env.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
#ifndef __ATP_ENV_H_ #define __ATP_ENV_H_ /******************************************************************************* * * atp_env.h * * This files contains external definitions and prototypes for ATP environment * module. * * (C) Texas Instruments, all rights reserved * * Version number : 1.0 * * History : 1.0 (2/21/2000) - Created * * Date : 30/May/2000 * * Author : Eric Baissus : e-baissus@ti.com * ******************************************************************************/ #include "rv/rv_general.h" #include "rvf/rvf_api.h" #include "rvm/rvm_gen.h" T_RVM_RETURN atp_get_info (T_RVM_INFO_SWE *p_info_swe); T_RVM_RETURN atp_set_info(T_RVF_ADDR_ID addr_id, T_RV_RETURN return_path[], T_RVF_MB_ID mb_id[], T_RVM_RETURN (*rvm_error_ft) ( T_RVM_NAME swe_name, T_RVM_RETURN error_cause, T_RVM_ERROR_TYPE error_type, T_RVM_STRING error_msg) ); T_RVM_RETURN atp_init (void); T_RVM_RETURN atp_start (void); T_RVM_RETURN atp_stop (void); T_RVM_RETURN atp_kill (void); #endif
