mirror of https://gerrit.osmocom.org/libosmocore
fix gsm0808_permitted_speech(): don't return HR3 for TCH_F + AMR
Change-Id: Icca23940791f97fa64dbc3f2734270b99f9550c1
This commit is contained in:
parent
15a5f8de00
commit
94e4265f07
|
@ -147,7 +147,7 @@ static inline enum gsm0808_permitted_speech gsm0808_permitted_speech(enum gsm_ch
|
||||||
case GSM48_CMODE_SPEECH_AMR:
|
case GSM48_CMODE_SPEECH_AMR:
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case GSM_LCHAN_TCH_F:
|
case GSM_LCHAN_TCH_F:
|
||||||
return GSM0808_PERM_HR3;
|
return GSM0808_PERM_FR3;
|
||||||
case GSM_LCHAN_TCH_H:
|
case GSM_LCHAN_TCH_H:
|
||||||
return GSM0808_PERM_HR3;
|
return GSM0808_PERM_HR3;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue