mirror of https://gerrit.osmocom.org/libosmocore
gsm0808: fix wrong codec defaults for OFR_AMR_WB
3GPP TS 48.008 chapter 3.2.2.103 states that the configuration bits of OFR_AMR_WB are coded as follows: "S0, S2, S4 indicates the supported Codec Configurations. S1, S3, S5, S6, S7 are reserved and coded with zeroes." The current default setting of 0x3F violates this requirement. Lets set the "forbidden" settings zu zero and keep only the allowed ones. Change-Id: I4a481def59e9c98cfdcafc2b80c0ac7df0c14130
This commit is contained in:
parent
9540c24058
commit
4b081b1d88
|
@ -499,7 +499,7 @@ enum gsm0808_speech_codec_defaults {
|
|||
GSM0808_SC_CFG_DEFAULT_HR_AMR = 0x073f,
|
||||
GSM0808_SC_CFG_DEFAULT_OHR_AMR = 0x57ff,
|
||||
GSM0808_SC_CFG_DEFAULT_FR_AMR_WB = 0x01,
|
||||
GSM0808_SC_CFG_DEFAULT_OFR_AMR_WB = 0x3f,
|
||||
GSM0808_SC_CFG_DEFAULT_OFR_AMR_WB = 0x15,
|
||||
GSM0808_SC_CFG_DEFAULT_OHR_AMR_WB = 0x01,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue