| Index: webrtc/audio/audio_send_stream_unittest.cc
|
| diff --git a/webrtc/audio/audio_send_stream_unittest.cc b/webrtc/audio/audio_send_stream_unittest.cc
|
| index c17e8e393cb3f0ead6603fb5692dcbb846d95b71..4f3208e009a18468a99144e6fb023cc75a5527cc 100644
|
| --- a/webrtc/audio/audio_send_stream_unittest.cc
|
| +++ b/webrtc/audio/audio_send_stream_unittest.cc
|
| @@ -46,6 +46,7 @@ const CallStatistics kCallStats = {
|
| 1345, 1678, 1901, 1234, 112, 13456, 17890, 1567, -1890, -1123};
|
| const ReportBlock kReportBlock = {456, 780, 123, 567, 890, 132, 143, 13354};
|
| const int kTelephoneEventPayloadType = 123;
|
| +const int kTelephoneEventPayloadFrequency = 65432;
|
| const int kTelephoneEventCode = 45;
|
| const int kTelephoneEventDuration = 6789;
|
| const CodecInst kIsacCodec = {103, "isac", 16000, 320, 1, 32000};
|
| @@ -153,7 +154,8 @@ struct ConfigHelper {
|
| void SetupMockForSendTelephoneEvent() {
|
| EXPECT_TRUE(channel_proxy_);
|
| EXPECT_CALL(*channel_proxy_,
|
| - SetSendTelephoneEventPayloadType(kTelephoneEventPayloadType))
|
| + SetSendTelephoneEventPayloadType(kTelephoneEventPayloadType,
|
| + kTelephoneEventPayloadFrequency))
|
| .WillOnce(Return(true));
|
| EXPECT_CALL(*channel_proxy_,
|
| SendTelephoneEventOutband(kTelephoneEventCode, kTelephoneEventDuration))
|
| @@ -243,7 +245,8 @@ TEST(AudioSendStreamTest, SendTelephoneEvent) {
|
| helper.event_log());
|
| helper.SetupMockForSendTelephoneEvent();
|
| EXPECT_TRUE(send_stream.SendTelephoneEvent(kTelephoneEventPayloadType,
|
| - kTelephoneEventCode, kTelephoneEventDuration));
|
| + kTelephoneEventPayloadFrequency, kTelephoneEventCode,
|
| + kTelephoneEventDuration));
|
| }
|
|
|
| TEST(AudioSendStreamTest, SetMuted) {
|
|
|