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

Issue 2873803002: Make AudioSinkInterface::Data hold a const pointer to the audio buffer. (Closed)

Created:
3 years, 7 months ago by yujo
Modified:
3 years, 7 months ago
Reviewers:
the sun, hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, the sun, tterriberry_mozilla.com, kwiberg-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Make AudioSinkInterface::Data hold a const pointer to the audio buffer. This is in preparation for https://codereview.webrtc.org/2750783004/, where requiring a non-const pointer for AudioSinkInterface would force an unmuting and zeroing of every frame. BUG=webrtc:7343 Review-Url: https://codereview.webrtc.org/2873803002 Cr-Commit-Position: refs/heads/master@{#18107} Committed: https://chromium.googlesource.com/external/webrtc/+/38605965bd68ad1e376c530883041b9c12f26d3b

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M webrtc/api/call/audio_sink.h View 2 chunks +2 lines, -2 lines 2 comments Download

Messages

Total messages: 19 (10 generated)
yujo
3 years, 7 months ago (2017-05-10 00:42:44 UTC) #6
kwiberg-webrtc
https://codereview.webrtc.org/2873803002/diff/1/webrtc/api/call/audio_sink.h File webrtc/api/call/audio_sink.h (right): https://codereview.webrtc.org/2873803002/diff/1/webrtc/api/call/audio_sink.h#newcode41 webrtc/api/call/audio_sink.h:41: const int16_t* data; // The actual 16bit audio data. ...
3 years, 7 months ago (2017-05-10 08:19:51 UTC) #7
hlundin-webrtc
LGTM, but I have no powers here.
3 years, 7 months ago (2017-05-10 13:44:39 UTC) #8
the sun
lgtm https://codereview.webrtc.org/2873803002/diff/1/webrtc/api/call/audio_sink.h File webrtc/api/call/audio_sink.h (right): https://codereview.webrtc.org/2873803002/diff/1/webrtc/api/call/audio_sink.h#newcode41 webrtc/api/call/audio_sink.h:41: const int16_t* data; // The actual 16bit audio ...
3 years, 7 months ago (2017-05-11 07:56:15 UTC) #9
yujo
Thanks, can someone commit for me?
3 years, 7 months ago (2017-05-11 18:01:21 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/2873803002/1
3 years, 7 months ago (2017-05-11 20:15:43 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/external/webrtc/+/38605965bd68ad1e376c530883041b9c12f26d3b
3 years, 7 months ago (2017-05-11 20:35:34 UTC) #17
Zhi Huang
A revert of this CL (patchset #1 id:1) has been created in https://codereview.webrtc.org/2877013002/ by zhihuang@webrtc.org. ...
3 years, 7 months ago (2017-05-12 04:21:58 UTC) #18
Zhi Huang
3 years, 7 months ago (2017-05-12 04:26:39 UTC) #19
Message was sent while issue was closed.
On 2017/05/11 20:35:34, commit-bot: I haz the power wrote:
> Committed patchset #1 (id:1) as
>
https://chromium.googlesource.com/external/webrtc/+/38605965bd68ad1e376c53088...

An internal project is broken after this CL landed but I'm not 100% percent sure
that this is the root cause. 
Since I don't have a easy way to reproduce it locally, I reverted this.
I'll reland this If it doesn't help.

Powered by Google App Engine
This is Rietveld 408576698