FreeCalypso > hg > gsm-codec-lib
changeset 25:61cb83bd11ec
GSM 06.11 silence frame: it's Nc=40 first, then bc=0
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 20 Nov 2022 16:56:43 +0000 |
parents | 94f18b720f1e |
children | 40fcd89d8823 |
files | dev/gsm0611-silence-fr.c libgsmfrp/silence_frame.c |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/dev/gsm0611-silence-fr.c Sun Nov 20 08:30:07 2022 +0000 +++ b/dev/gsm0611-silence-fr.c Sun Nov 20 16:56:43 2022 +0000 @@ -13,7 +13,7 @@ static const gsm_signal lar_params[8] = {42, 39, 21, 10, 9, 4, 3, 2}; static const gsm_signal subframe_params[17] = - {0, 40, 1, 0, 3, 4, 3, 4, 4, 3, 3, 3, 3, 4, 4, 3, 3}; + {40, 0, 1, 0, 3, 4, 3, 4, 4, 3, 3, 3, 3, 4, 4, 3, 3}; main(argc, argv) char **argv;
--- a/libgsmfrp/silence_frame.c Sun Nov 20 08:30:07 2022 +0000 +++ b/libgsmfrp/silence_frame.c Sun Nov 20 16:56:43 2022 +0000 @@ -8,8 +8,8 @@ const gsm_frame gsmfr_preproc_silence_frame = { 0xDA, 0xA7, 0xAA, 0xA5, 0x1A, - 0x00, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B, - 0x00, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B, - 0x00, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B, - 0x00, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B, + 0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B, + 0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B, + 0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B, + 0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B, };