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

Issue 2404183003: Fix bug in DTMF generation where events with level > 36 would be ignored. (Closed)

Created:
4 years, 2 months ago by the sun
Modified:
4 years, 2 months ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix bug in DTMF generation where events with level > 36 would be ignored. BUG=webrtc:2795 Committed: https://crrev.com/99df6c03c333202b59be8a70fa561027d995b0c2 Cr-Commit-Position: refs/heads/master@{#14598}

Patch Set 1 #

Patch Set 2 : fix other tests #

Total comments: 6

Patch Set 3 : reviewer comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -14 lines) Patch
M webrtc/modules/audio_coding/neteq/dtmf_buffer.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/dtmf_buffer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/dtmf_tone_generator.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/dtmf_tone_generator.cc View 1 2 5 chunks +29 lines, -8 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/dtmf_tone_generator_unittest.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc View 1 2 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
the sun
According to section 2.3.4 of RFC 4733 the level is max 63 (yielding -63 dBm0). ...
4 years, 2 months ago (2016-10-11 07:59:13 UTC) #2
hlundin-webrtc
https://codereview.webrtc.org/2404183003/diff/20001/webrtc/modules/audio_coding/neteq/dtmf_buffer.cc File webrtc/modules/audio_coding/neteq/dtmf_buffer.cc (right): https://codereview.webrtc.org/2404183003/diff/20001/webrtc/modules/audio_coding/neteq/dtmf_buffer.cc#newcode102 webrtc/modules/audio_coding/neteq/dtmf_buffer.cc:102: event.volume < 0 || event.volume > 63 || This ...
4 years, 2 months ago (2016-10-11 09:08:36 UTC) #3
the sun
Why is the max amplitude 16141 and not 16383? Or 16195 (for -0.1 dB)? https://codereview.webrtc.org/2404183003/diff/20001/webrtc/modules/audio_coding/neteq/dtmf_buffer.cc ...
4 years, 2 months ago (2016-10-11 09:44:53 UTC) #4
hlundin-webrtc
I don't know why the max amplitude is set the way it is. LGTM
4 years, 2 months ago (2016-10-11 10:30:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2404183003/40001
4 years, 2 months ago (2016-10-11 10:32:06 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-11 11:35:36 UTC) #8
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 11:35:45 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/99df6c03c333202b59be8a70fa561027d995b0c2
Cr-Commit-Position: refs/heads/master@{#14598}

Powered by Google App Engine
This is Rietveld 408576698