annotate rvinterf/include/audio.h @ 1000:39a6090a052a

doc/How-flash-really-works: article written
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Dec 2023 09:08:19 +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)