comparison rvinterf/include/audio.h @ 840:25a182bc031b

rvinterf/include/audio.h: create interface definitions
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 31 Jul 2021 07:33:58 +0000
parents ffstools/tiaud/binstruct.h@c458e33060bf
children
comparison
equal deleted inserted replaced
839:b053e4141a16 840:25a182bc031b
1 /*
2 * This header file contains definitions for talking to ETM_AUDIO.
3 */
4
5 /* aur/auw parameter codes */
6 #define AUDIO_PATH_USED (0)
7 #define AUDIO_MICROPHONE_MODE (1)
8 #define AUDIO_MICROPHONE_GAIN (2)
9 #define AUDIO_MICROPHONE_EXTRA_GAIN (3)
10 #define AUDIO_MICROPHONE_OUTPUT_BIAS (4)
11 #define AUDIO_MICROPHONE_FIR (5)
12 #define AUDIO_SPEAKER_MODE (6)
13 #define AUDIO_SPEAKER_GAIN (7)
14 #define AUDIO_SPEAKER_FILTER (8)
15 #define AUDIO_SPEAKER_FIR (9)
16 #define AUDIO_SPEAKER_BUZZER_STATE (10)
17 #define AUDIO_MICROPHONE_SPEAKER_LOOP_SIDETONE (11)
18 #define AUDIO_MICROPHONE_SPEAKER_LOOP_AEC (12)
19 #define AUDIO_SPEAKER_VOLUME_LEVEL (13)
20
21 /* microphone modes */
22 #define AUDIO_MICROPHONE_HANDHELD (0)
23 #define AUDIO_MICROPHONE_HANDFREE (1)
24 #define AUDIO_MICROPHONE_HEADSET (2)
25
26 /* speaker modes */
27 #define AUDIO_SPEAKER_HANDHELD (0)
28 #define AUDIO_SPEAKER_HANDFREE (1)
29 #define AUDIO_SPEAKER_HEADSET (2)
30 #define AUDIO_SPEAKER_BUZZER (3)
31 #define AUDIO_SPEAKER_HANDHELD_HANDFREE (4)