diff aud-pirelli/headset.src @ 5:e0c7fa6be0fc

aud-pirelli: copying official fw
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 05 Apr 2022 07:28:43 +0000
parents
children 57f97e839441
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aud-pirelli/headset.src	Tue Apr 05 07:28:43 2022 +0000
@@ -0,0 +1,29 @@
+# Headset audio mode on the Pirelli DP-L10 target - this audio mode
+# config has been lifted directly from Pirelli's official fw,
+# specifically the state when the volume control is at the maximum.
+#
+# We shall do volume control in our own FreeCalypso way, hence DL PGA
+# and sidetone settings need to follow the maximum volume configuration
+# from Pirelli.
+
+
+mic headset {
+	gain 6
+	output-bias 1
+	fir  0 0x0002 0xFFFB 0x0002 0x0028 0xFFD5 0xFF9B 0x0058 0x00A8
+	fir  8 0x006C 0xFE28 0xFD6B 0x0596 0x03FF 0xF505 0xFDFA 0x7F5C
+	fir 16 0xFDFA 0xF505 0x03FF 0x0596 0xFD6B 0xFE28 0x006C 0x00A8
+	fir 24 0x0058 0xFF9B 0xFFD5 0x0028 0x0002 0xFFFB 0x0002
+}
+
+speaker headset {
+	gain 2
+	fir  0 0xFFEE 0xFFF9 0x0045 0xFF8C 0x005B 0x001A 0xFE95 0x02DF
+	fir  8 0xFEA4 0xFD2E 0x05DC 0xF5AC 0x1069 0xF907 0xE847 0x7F5C
+	fir 16 0xE847 0xF907 0x1069 0xF5AC 0x05DC 0xFD2E 0xFEA4 0x02DF
+	fir 24 0xFE95 0x001A 0x005B 0xFF8C 0x0045 0xFFF9 0xFFEE
+}
+
+sidetone -23
+
+aec-new 2 1 0x14 0xCCC 0x59AD 0x4000 0x32 0x1000 0x1000 0 4 0