Index: webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc |
diff --git a/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc b/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc |
index 71a8744f81b9e015213a267398041cd340fce6fe..2ed46bf709fc75eadaada6f2ac6e0688716c25ef 100644 |
--- a/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc |
+++ b/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc |
@@ -79,8 +79,14 @@ bool RemapPltypeAndUseThisCodec(const char* plname, |
*pltype = 103; |
} else if (STR_CASE_CMP(plname, "ISAC") == 0 && plfreq == 32000) { |
*pltype = 104; |
- } else if (STR_CASE_CMP(plname, "telephone-event") == 0) { |
+ } else if (STR_CASE_CMP(plname, "telephone-event") == 0 && plfreq == 8000) { |
*pltype = 106; |
+ } else if (STR_CASE_CMP(plname, "telephone-event") == 0 && plfreq == 16000) { |
+ *pltype = 114; |
+ } else if (STR_CASE_CMP(plname, "telephone-event") == 0 && plfreq == 32000) { |
+ *pltype = 115; |
+ } else if (STR_CASE_CMP(plname, "telephone-event") == 0 && plfreq == 48000) { |
+ *pltype = 116; |
} else if (STR_CASE_CMP(plname, "red") == 0) { |
*pltype = 117; |
} else if (STR_CASE_CMP(plname, "L16") == 0 && plfreq == 8000) { |