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

Issue 2706923006: Now using rtc::Buffer in FineAudioBuffer (Closed)

Created:
3 years, 10 months ago by henrika_webrtc
Modified:
3 years, 10 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Now using rtc::Buffer in FineAudioBuffer BUG=b/35589717 Review-Url: https://codereview.webrtc.org/2706923006 Cr-Commit-Position: refs/heads/master@{#16793} Committed: https://chromium.googlesource.com/external/webrtc/+/f166e1bcaba8b873205b59633bbdc99efe293f1c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Feedback from kwiberg@ #

Total comments: 4

Patch Set 3 : Removed DCHECK #

Patch Set 4 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -47 lines) Patch
M webrtc/modules/audio_device/fine_audio_buffer.h View 1 2 chunks +2 lines, -8 lines 0 comments Download
M webrtc/modules/audio_device/fine_audio_buffer.cc View 1 2 3 3 chunks +12 lines, -39 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
henrika_webrtc
As discussed. Started out with replacing old unique_ptr<int8_t[]> to rtc::Buffer. Plan was to add CHECK ...
3 years, 10 months ago (2017-02-22 14:44:42 UTC) #3
kwiberg-webrtc
https://codereview.webrtc.org/2706923006/diff/1/webrtc/modules/audio_device/fine_audio_buffer.cc File webrtc/modules/audio_device/fine_audio_buffer.cc (right): https://codereview.webrtc.org/2706923006/diff/1/webrtc/modules/audio_device/fine_audio_buffer.cc#newcode128 webrtc/modules/audio_device/fine_audio_buffer.cc:128: record_buffer_.AppendData(buffer, size_in_bytes); I don't think this is quite right. ...
3 years, 10 months ago (2017-02-22 15:25:39 UTC) #4
henrika_webrtc
Rewrote as suggested. Agree that the code looks much nicer now. But...it feels as if ...
3 years, 10 months ago (2017-02-22 16:30:25 UTC) #5
kwiberg-webrtc
Much easier to understand than the old code! lgtm, provided the optimization I mentioned isn't ...
3 years, 10 months ago (2017-02-23 08:08:24 UTC) #6
kwiberg-webrtc
On 2017/02/22 16:30:25, henrika_webrtc wrote: > Rewrote as suggested. Agree that the code looks much ...
3 years, 10 months ago (2017-02-23 08:18:24 UTC) #7
henrika_webrtc
A warm-up phase is OK. The problem I see is an increased latency during the ...
3 years, 10 months ago (2017-02-23 08:27:49 UTC) #8
henrika_webrtc
Same happens without the change. Hence not related to this fix. I am using an ...
3 years, 10 months ago (2017-02-23 08:39:05 UTC) #9
henrika_webrtc
https://codereview.webrtc.org/2706923006/diff/20001/webrtc/modules/audio_device/fine_audio_buffer.cc File webrtc/modules/audio_device/fine_audio_buffer.cc (right): https://codereview.webrtc.org/2706923006/diff/20001/webrtc/modules/audio_device/fine_audio_buffer.cc#newcode113 webrtc/modules/audio_device/fine_audio_buffer.cc:113: RTC_DCHECK_LE(bytes_per_10_ms_, record_buffer_.size()); Man ;-) So, I guess we are ...
3 years, 10 months ago (2017-02-23 08:39:11 UTC) #10
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/2706923006/60001
3 years, 10 months ago (2017-02-23 09:24:11 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 10:44:59 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/f166e1bcaba8b873205b59633...

Powered by Google App Engine
This is Rietveld 408576698