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 056ff2273ce8062eb62257e7b99f37da8f4f2b90..2891ed264572b447c3cef490a66c91da88498737 100644 |
--- a/webrtc/modules/audio_coding/acm2/acm_receive_test.cc |
+++ b/webrtc/modules/audio_coding/acm2/acm_receive_test.cc |
@@ -80,8 +80,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) { |