FreeCalypso > hg > freecalypso-tools
comparison ffstools/tiaud/binstruct.h @ 834:c458e33060bf
ffstools/tiaud: prep for adding support for new AEC
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 30 Jul 2021 00:10:13 +0000 |
parents | 568e2a2b49c8 |
children |
comparison
equal
deleted
inserted
replaced
833:625bee54ed34 | 834:c458e33060bf |
---|---|
14 uint8_t pad3[3]; | 14 uint8_t pad3[3]; |
15 int8_t speaker_bytes[4]; | 15 int8_t speaker_bytes[4]; |
16 uint16_t speaker_fir[32]; | 16 uint16_t speaker_fir[32]; |
17 int8_t sidetone_gain; | 17 int8_t sidetone_gain; |
18 uint8_t pad4[3]; | 18 uint8_t pad4[3]; |
19 uint16_t aec_words[6]; | 19 uint16_t aec_words[12]; |
20 }; | 20 }; |
21 | |
22 #define MODE_FILE_SIZE_NEWAEC (sizeof(struct audio_cfg_bin)) | |
23 #define MODE_FILE_SIZE_OLDAEC (sizeof(struct audio_cfg_bin) - 12) | |
21 | 24 |
22 /* mic_mode byte */ | 25 /* mic_mode byte */ |
23 #define AUDIO_MICROPHONE_HANDHELD (0) | 26 #define AUDIO_MICROPHONE_HANDHELD (0) |
24 #define AUDIO_MICROPHONE_HANDFREE (1) | 27 #define AUDIO_MICROPHONE_HANDFREE (1) |
25 #define AUDIO_MICROPHONE_HEADSET (2) | 28 #define AUDIO_MICROPHONE_HEADSET (2) |