diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-09-19 13:40:21 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2018-09-19 14:01:10 +0000 |
commit | 5f2eb150742bd793f2f61fb5cfe2b2df707c0093 (patch) | |
tree | 08122f798a25f03a2ca29ba001cc25b1534f9bf5 /tests/smscb | |
parent | 28fc078f9cc02b6c731b0d2e5813857d2ec03ea1 (diff) |
gsm0808: add function to convert amr gsm0408 setings to gsm0808
Add a function to convert struct gsm48_multi_rate_conf, which holds the
codec settings for AMR, to S0-S15 bit representation as defined in
3GPP TS 48.008 3.2.2.49
This resurrects change-id I4e656731b16621736c7a2f4e64d9ce63b1064e98
which was reverted in I9e0d405e303ed86d23703ca6362e958dddb2f861
due to gsm0808_test failing.
The test failure is fixed by properly clearing the struct
gsm48_multirate_cfg prior to running tests (add memset(0)).
Change-Id: Ia782e21c206c15e840226d79b4209d13658ee916
Related: OS#3548
Diffstat (limited to 'tests/smscb')
0 files changed, 0 insertions, 0 deletions