Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: webrtc/modules/audio_coding/neteq/dtmf_buffer_unittest.cc

Issue 2404183003: Fix bug in DTMF generation where events with level > 36 would be ignored. (Closed)
Patch Set: reviewer comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/neteq/dtmf_buffer_unittest.cc
diff --git a/webrtc/modules/audio_coding/neteq/dtmf_buffer_unittest.cc b/webrtc/modules/audio_coding/neteq/dtmf_buffer_unittest.cc
index 1252f819d1f2062e68c020719e94f7cf5819f21f..d906d1ca5292d8ce96f4c2a3a099d253a4a9c3ef 100644
--- a/webrtc/modules/audio_coding/neteq/dtmf_buffer_unittest.cc
+++ b/webrtc/modules/audio_coding/neteq/dtmf_buffer_unittest.cc
@@ -282,7 +282,7 @@ TEST(DtmfBuffer, InvalidEvents) {
// Invalid volume.
event.volume = -1;
EXPECT_EQ(DtmfBuffer::kInvalidEventParameters, buffer.InsertEvent(event));
- event.volume = 37;
+ event.volume = 64;
EXPECT_EQ(DtmfBuffer::kInvalidEventParameters, buffer.InsertEvent(event));
event.volume = 0; // Valid value;
« no previous file with comments | « webrtc/modules/audio_coding/neteq/dtmf_buffer.cc ('k') | webrtc/modules/audio_coding/neteq/dtmf_tone_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698