Index: webrtc/modules/audio_coding/acm2/acm_receive_test.cc |
diff --git a/webrtc/modules/audio_coding/acm2/acm_receive_test.cc b/webrtc/modules/audio_coding/acm2/acm_receive_test.cc |
index c2549323c77231c385e1d4eac265cb8d82241745..88fe7c25e857c9b0166b957612851405fccea0bc 100644 |
--- a/webrtc/modules/audio_coding/acm2/acm_receive_test.cc |
+++ b/webrtc/modules/audio_coding/acm2/acm_receive_test.cc |
@@ -81,8 +81,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) { |