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

Issue 2753453002: Adding AudioDeviceDataObserver interface (Closed)

Created:
3 years, 9 months ago by lliuu
Modified:
3 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, AleBzk, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, sdk-team_agora.io, peah-webrtc, minyue-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adding AudioDeviceDataObserver interface Added new callback class that enables routing both the locally recorded and playout audio data to external module. A factory method that creates an AudioDeviceModule instance that also registers the AudioTransportCapture with the device is also added. BUG=webrtc:7337 R=solenberg@webrtc.org Review-Url: https://codereview.webrtc.org/2753453002 . Cr-Commit-Position: refs/heads/master@{#17570} Committed: https://chromium.googlesource.com/external/webrtc/+/4b62001e4ffcda2033e9b1ca20b396c9f662e364

Patch Set 1 #

Patch Set 2 : Fix gn typo #

Total comments: 24

Patch Set 3 : Small changes that address comments; format #

Patch Set 4 : Remove some unnecessary comments #

Total comments: 27

Patch Set 5 : review comments from fredrik #

Unified diffs Side-by-side diffs Delta from patch set Stats (+433 lines, -0 lines) Patch
M webrtc/modules/audio_device/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/modules/audio_device/audio_device_data_observer.cc View 1 2 3 4 1 chunk +384 lines, -0 lines 0 comments Download
A webrtc/modules/audio_device/include/audio_device_data_observer.h View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (15 generated)
lliuu
On 2017/03/13 23:08:06, lliuu wrote: > mailto:lliuu@webrtc.org changed reviewers: > + mailto:solenberg@webrtc.org Hi Fredrik, Please ...
3 years, 9 months ago (2017-03-13 23:17:00 UTC) #12
the sun
https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc File webrtc/modules/audio_device/audio_transport_capture.cc (right): https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode25 webrtc/modules/audio_device/audio_transport_capture.cc:25: AudioTransportCapture* capture_cb) No need for this extra interface. https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode37 ...
3 years, 9 months ago (2017-03-21 21:42:50 UTC) #13
lliuu
https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc File webrtc/modules/audio_device/audio_transport_capture.cc (right): https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode59 webrtc/modules/audio_device/audio_transport_capture.cc:59: capture_callback_->CaptureRecordedData(audioSamples, nSamples, On 2017/03/21 21:42:50, the sun wrote: > ...
3 years, 9 months ago (2017-03-22 18:50:30 UTC) #14
lliuu
https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc File webrtc/modules/audio_device/audio_transport_capture.cc (right): https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode59 webrtc/modules/audio_device/audio_transport_capture.cc:59: capture_callback_->CaptureRecordedData(audioSamples, nSamples, On 2017/03/22 18:50:30, lliuu wrote: > On ...
3 years, 9 months ago (2017-03-22 20:34:37 UTC) #15
lliuu
https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc File webrtc/modules/audio_device/audio_transport_capture.cc (right): https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode37 webrtc/modules/audio_device/audio_transport_capture.cc:37: bool IsValid() { On 2017/03/21 21:42:50, the sun wrote: ...
3 years, 9 months ago (2017-03-22 21:26:14 UTC) #16
henrika_webrtc
Great work. Any plans to add some sort of unit test? I understand that it ...
3 years, 9 months ago (2017-03-23 09:02:42 UTC) #18
henrika_webrtc
https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc File webrtc/modules/audio_device/audio_transport_capture.cc (right): https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode41 webrtc/modules/audio_device/audio_transport_capture.cc:41: // RefCountedObject methods overrides. How are these related to ...
3 years, 9 months ago (2017-03-23 09:08:53 UTC) #19
lliuu
On 2017/03/23 09:02:42, henrika_webrtc wrote: > Great work. Any plans to add some sort of ...
3 years, 9 months ago (2017-03-24 00:12:45 UTC) #20
lliuu
https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc File webrtc/modules/audio_device/audio_transport_capture.cc (right): https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode41 webrtc/modules/audio_device/audio_transport_capture.cc:41: // RefCountedObject methods overrides. On 2017/03/23 09:08:52, henrika_webrtc wrote: ...
3 years, 9 months ago (2017-03-24 00:12:58 UTC) #21
the sun
This looks good. Initially, I thought the full ADMWrapper should instead be exposed, since that ...
3 years, 8 months ago (2017-03-28 23:33:45 UTC) #22
henrika_webrtc
https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc File webrtc/modules/audio_device/audio_transport_capture.cc (right): https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode41 webrtc/modules/audio_device/audio_transport_capture.cc:41: // RefCountedObject methods overrides. Don't think you can at ...
3 years, 8 months ago (2017-03-29 07:42:14 UTC) #23
tommi
https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc File webrtc/modules/audio_device/audio_transport_capture.cc (right): https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode41 webrtc/modules/audio_device/audio_transport_capture.cc:41: // RefCountedObject methods overrides. On 2017/03/29 07:42:14, henrika_webrtc wrote: ...
3 years, 8 months ago (2017-03-29 08:44:33 UTC) #24
lliuu
On 2017/03/29 08:44:33, tommi (webrtc) wrote: > https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc > File webrtc/modules/audio_device/audio_transport_capture.cc (right): > > https://codereview.webrtc.org/2753453002/diff/20001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode41 ...
3 years, 8 months ago (2017-03-30 17:59:02 UTC) #25
lliuu
On 2017/03/28 23:33:45, the sun wrote: > This looks good. > > Initially, I thought ...
3 years, 8 months ago (2017-03-31 22:29:43 UTC) #26
the sun
On 2017/03/31 22:29:43, lliuu wrote: > On 2017/03/28 23:33:45, the sun wrote: > > This ...
3 years, 8 months ago (2017-04-05 15:34:59 UTC) #28
the sun
Mostly naming changes and nits. This should be quick - the design is good. https://codereview.webrtc.org/2753453002/diff/80001/webrtc/modules/audio_device/audio_transport_capture.cc ...
3 years, 8 months ago (2017-04-05 15:49:39 UTC) #29
lliuu
On 2017/04/05 15:49:39, the sun wrote: > Mostly naming changes and nits. This should be ...
3 years, 8 months ago (2017-04-05 19:45:21 UTC) #30
lliuu
https://codereview.webrtc.org/2753453002/diff/80001/webrtc/modules/audio_device/audio_transport_capture.cc File webrtc/modules/audio_device/audio_transport_capture.cc (right): https://codereview.webrtc.org/2753453002/diff/80001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode19 webrtc/modules/audio_device/audio_transport_capture.cc:19: class ADMWrapper : public AudioDeviceModule, public AudioTransport { On ...
3 years, 8 months ago (2017-04-05 19:45:47 UTC) #31
lliuu
On 2017/04/05 19:45:47, lliuu wrote: > https://codereview.webrtc.org/2753453002/diff/80001/webrtc/modules/audio_device/audio_transport_capture.cc > File webrtc/modules/audio_device/audio_transport_capture.cc (right): > > https://codereview.webrtc.org/2753453002/diff/80001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode19 > ...
3 years, 8 months ago (2017-04-05 19:47:14 UTC) #33
the sun
LGTM! https://codereview.webrtc.org/2753453002/diff/80001/webrtc/modules/audio_device/audio_transport_capture.cc File webrtc/modules/audio_device/audio_transport_capture.cc (right): https://codereview.webrtc.org/2753453002/diff/80001/webrtc/modules/audio_device/audio_transport_capture.cc#newcode19 webrtc/modules/audio_device/audio_transport_capture.cc:19: class ADMWrapper : public AudioDeviceModule, public AudioTransport { ...
3 years, 8 months ago (2017-04-06 06:58:38 UTC) #34
niklas.enbom
RS lgtm On 2017/04/06 06:58:38, the sun wrote: > LGTM! > > https://codereview.webrtc.org/2753453002/diff/80001/webrtc/modules/audio_device/audio_transport_capture.cc > File ...
3 years, 8 months ago (2017-04-06 17:04:52 UTC) #35
lliuu
Committed patchset #5 (id:100001) manually as 4b62001e4ffcda2033e9b1ca20b396c9f662e364 (presubmit successful).
3 years, 8 months ago (2017-04-06 17:17:11 UTC) #37
henrika_webrtc
3 years, 8 months ago (2017-04-07 07:56:26 UTC) #38
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698