annotate rvinterf/include/audio.h @ 1014:961efadd530a default tip

fc-shell TCH DL handler: add support for CSD modes TCH DL capture mechanism in FC Tourmaline firmware has been extended to support CSD modes in addition to speech - add the necessary support on the host tools side. It needs to be noted that this mechanism in its present state does NOT provide the debug utility value that was sought: as we learned only after the code was implemented, TI's DSP has a misfeature in that the buffer we are reading (a_dd_0[]) is zeroed out when the IDS block is enabled, i.e., we are reading all zeros and not the real DL bits we were after. But since the code has already been written, we are keeping it - perhaps we can do some tests with IDS disabled.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 26 Nov 2024 06:27:43 +0000
parents 25a182bc031b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
840
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
2 * This header file contains definitions for talking to ETM_AUDIO.
163
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 */
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
840
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
5 /* aur/auw parameter codes */
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
6 #define AUDIO_PATH_USED (0)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
7 #define AUDIO_MICROPHONE_MODE (1)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
8 #define AUDIO_MICROPHONE_GAIN (2)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
9 #define AUDIO_MICROPHONE_EXTRA_GAIN (3)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
10 #define AUDIO_MICROPHONE_OUTPUT_BIAS (4)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
11 #define AUDIO_MICROPHONE_FIR (5)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
12 #define AUDIO_SPEAKER_MODE (6)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
13 #define AUDIO_SPEAKER_GAIN (7)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
14 #define AUDIO_SPEAKER_FILTER (8)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
15 #define AUDIO_SPEAKER_FIR (9)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
16 #define AUDIO_SPEAKER_BUZZER_STATE (10)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
17 #define AUDIO_MICROPHONE_SPEAKER_LOOP_SIDETONE (11)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
18 #define AUDIO_MICROPHONE_SPEAKER_LOOP_AEC (12)
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
19 #define AUDIO_SPEAKER_VOLUME_LEVEL (13)
163
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
840
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
21 /* microphone modes */
163
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 #define AUDIO_MICROPHONE_HANDHELD (0)
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 #define AUDIO_MICROPHONE_HANDFREE (1)
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 #define AUDIO_MICROPHONE_HEADSET (2)
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
840
25a182bc031b rvinterf/include/audio.h: create interface definitions
Mychaela Falconia <falcon@freecalypso.org>
parents: 834
diff changeset
26 /* speaker modes */
163
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 #define AUDIO_SPEAKER_HANDHELD (0)
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 #define AUDIO_SPEAKER_HANDFREE (1)
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 #define AUDIO_SPEAKER_HEADSET (2)
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 #define AUDIO_SPEAKER_BUZZER (3)
568e2a2b49c8 tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 #define AUDIO_SPEAKER_HANDHELD_HANDFREE (4)