annotate cfg-headers/rv_swe-2092-pwr.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 05aa9659f6d6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #ifndef __RV_SWE_H__
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 #define __RV_SWE_H__
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 #define RVM_AUDIO_SWE
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 #define RVM_ETM_SWE
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 #define RVM_DAR_SWE
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 #define RVM_SPI_SWE
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 #define RVM_LLS_SWE
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 #define RVM_KPD_SWE
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 #define RVM_PWR_SWE
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 #define RVM_R2D_SWE
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 #define RVM_RTC_SWE
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 #define RVM_FFS_SWE
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
05aa9659f6d6 cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 #endif /* __RV_SWE_H__ */