annotate aud-c139/handheld.src @ 6:cd0641c3611a

add README
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 06 Apr 2022 05:26:36 +0000
parents e1878231dbcd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # C139 handheld audio mode, currently based on the register readings
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 # provided by Das Signal in 2021-11.
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 mic default {
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 gain 2 # value reported by DS for the active call state
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 output-bias 0 # C139 uses 2.0V
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 }
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 # We are going to configure downlink FIR and PGA when we get a better
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 # test setup - run with safe defaults for now.
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 speaker ear {
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 gain 0
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 }
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 sidetone -23
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 # C139 AEC config for handheld mode
e1878231dbcd aud-c139: preliminary version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 aec-new 2 1 0x14 0x4CCC 0x59AD 0x7500 0 0x1000 0x1000 0 4 0x40