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

Issue 1403363003: Move VoiceEngineObserver into AudioSendStream so that we detect typing noises and return properly i… (Closed)

Created:
5 years, 1 month ago by the sun
Modified:
5 years, 1 month ago
Reviewers:
tommi
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, kwiberg-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move VoiceEngineObserver into AudioSendStream so that we detect typing noises and return properly in GetStats(). BUG=webrtc:4690 Committed: https://crrev.com/566ef247b9779f6c9d0e7ec9eea6b037f4682c53 Cr-Commit-Position: refs/heads/master@{#10548}

Patch Set 1 #

Patch Set 2 : works #

Patch Set 3 : more includes #

Patch Set 4 : win compile #

Patch Set 5 : explicitly managed global state #

Patch Set 6 : more thread check / less nonsense #

Patch Set 7 : better comments #

Total comments: 14

Patch Set 8 : comments and tests #

Patch Set 9 : missing file #

Total comments: 10

Patch Set 10 : ref counting AudioState and using scoped_refptr #

Patch Set 11 : Merge+update tests #

Patch Set 12 : thread check everything! #

Patch Set 13 : missing EXPECT_CALL for audio state initialization #

Patch Set 14 : more EXPECT_CALL #

Patch Set 15 : win mem leak test #

Patch Set 16 : change back #

Patch Set 17 : merge master #

Patch Set 18 : win_rel_debug_1 #

Patch Set 19 : win_rel_debug_2 #

Patch Set 20 : win_rel_debug_3 #

Patch Set 21 : win_rel_debug_4 #

Patch Set 22 : win_rel_debug_5 #

Patch Set 23 : win_rel_debug_6 #

Patch Set 24 : win_rel_debug_7 #

Patch Set 25 : win_rel_debug_8 #

Patch Set 26 : android_debug_1 #

Patch Set 27 : android_debug_2 #

Patch Set 28 : android_debug_3 #

Patch Set 29 : DOH! #

Patch Set 30 : that's all folks! (incl rebase), or is it? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+701 lines, -398 lines) Patch
M talk/app/webrtc/mediacontroller.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +7 lines, -7 lines 0 comments Download
M talk/media/base/fakemediaengine.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M talk/media/base/mediaengine.h View 1 2 3 4 5 6 7 8 9 4 chunks +4 lines, -4 lines 0 comments Download
M talk/media/webrtc/fakewebrtccall.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +7 lines, -9 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.h View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +23 lines, -31 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.cc View 1 2 3 4 5 6 7 8 9 10 11 64 chunks +96 lines, -127 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +14 lines, -5 lines 0 comments Download
M webrtc/audio/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/audio/audio_receive_stream.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +3 lines, -7 lines 0 comments Download
M webrtc/audio/audio_receive_stream.cc View 1 2 3 4 5 6 7 8 9 27 28 29 5 chunks +21 lines, -20 lines 0 comments Download
M webrtc/audio/audio_receive_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 5 chunks +93 lines, -74 lines 0 comments Download
M webrtc/audio/audio_send_stream.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -9 lines 0 comments Download
M webrtc/audio/audio_send_stream.cc View 1 2 3 4 5 6 7 8 9 26 4 chunks +17 lines, -13 lines 0 comments Download
M webrtc/audio/audio_send_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +88 lines, -58 lines 0 comments Download
A webrtc/audio/audio_state.h View 1 2 3 4 5 6 7 8 9 1 chunk +61 lines, -0 lines 0 comments Download
A webrtc/audio/audio_state.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +79 lines, -0 lines 0 comments Download
A webrtc/audio/audio_state_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +80 lines, -0 lines 0 comments Download
M webrtc/audio/webrtc_audio.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/audio_state.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +43 lines, -0 lines 0 comments Download
M webrtc/call.h View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -11 lines 0 comments Download
M webrtc/call/bitrate_estimator_tests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +9 lines, -1 line 0 comments Download
M webrtc/call/call.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 10 chunks +20 lines, -16 lines 0 comments Download
M webrtc/call/call_perf_tests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/call/call_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +12 lines, -3 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M webrtc/webrtc.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/webrtc_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
the sun
Before you waste any time on this: how strict are we about static data? https://codereview.webrtc.org/1403363003/diff/40001/webrtc/audio/audio_send_stream.h ...
5 years, 1 month ago (2015-10-27 15:57:55 UTC) #2
the sun
Here's a new try, without non-pod global data. PTAL, let me know what you think ...
5 years, 1 month ago (2015-10-28 15:45:02 UTC) #3
tommi
sorry for the delay, thought I had sent this out. https://codereview.webrtc.org/1403363003/diff/120001/webrtc/audio/audio_state.cc File webrtc/audio/audio_state.cc (right): https://codereview.webrtc.org/1403363003/diff/120001/webrtc/audio/audio_state.cc#newcode39 ...
5 years, 1 month ago (2015-10-29 16:28:51 UTC) #5
the sun
- Implemented remaining tests. - Using linked_ptr to hold AudioState (note that we can't cast ...
5 years, 1 month ago (2015-10-30 12:19:01 UTC) #6
the sun
On 2015/10/30 12:19:01, the sun wrote: > - Implemented remaining tests. > - Using linked_ptr ...
5 years, 1 month ago (2015-10-30 13:59:57 UTC) #7
the sun
On 2015/10/30 13:59:57, the sun wrote: > On 2015/10/30 12:19:01, the sun wrote: > > ...
5 years, 1 month ago (2015-11-02 10:17:35 UTC) #8
tommi
https://codereview.webrtc.org/1403363003/diff/120001/webrtc/audio_state.h File webrtc/audio_state.h (right): https://codereview.webrtc.org/1403363003/diff/120001/webrtc/audio_state.h#newcode23 webrtc/audio_state.h:23: // VoiceEngine used for audio streams and audio/video synchronization. ...
5 years, 1 month ago (2015-11-02 13:46:53 UTC) #9
the sun
https://codereview.webrtc.org/1403363003/diff/120001/webrtc/audio_state.h File webrtc/audio_state.h (right): https://codereview.webrtc.org/1403363003/diff/120001/webrtc/audio_state.h#newcode23 webrtc/audio_state.h:23: // VoiceEngine used for audio streams and audio/video synchronization. ...
5 years, 1 month ago (2015-11-03 12:41:08 UTC) #10
the sun
On 2015/11/03 12:41:08, the sun wrote: > https://codereview.webrtc.org/1403363003/diff/120001/webrtc/audio_state.h > File webrtc/audio_state.h (right): > > https://codereview.webrtc.org/1403363003/diff/120001/webrtc/audio_state.h#newcode23 ...
5 years, 1 month ago (2015-11-05 16:11:35 UTC) #11
tommi
lgtm
5 years, 1 month ago (2015-11-06 23:31:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1403363003/580001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1403363003/580001
5 years, 1 month ago (2015-11-06 23:31:36 UTC) #14
commit-bot: I haz the power
Committed patchset #30 (id:580001)
5 years, 1 month ago (2015-11-06 23:34:53 UTC) #15
commit-bot: I haz the power
5 years, 1 month ago (2015-11-06 23:35:07 UTC) #16
Message was sent while issue was closed.
Patchset 30 (id:??) landed as
https://crrev.com/566ef247b9779f6c9d0e7ec9eea6b037f4682c53
Cr-Commit-Position: refs/heads/master@{#10548}

Powered by Google App Engine
This is Rietveld 408576698