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

Issue 1224163002: Update audio code to use size_t more correctly, webrtc/voice_engine/ portion. (Closed)

Created:
5 years, 5 months ago by Peter Kasting
Modified:
5 years, 4 months ago
CC:
hlundin-webrtc, interface-changes_webrtc.org, rwolff_gocast.it, tterriberry_mozilla.com, webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Update audio code to use size_t more correctly, webrtc/voice_engine/ portion. This is a piece of https://codereview.webrtc.org/1230503003 , split out to a separate change to make reviewing easier. BUG=chromium:81439 TEST=none

Patch Set 1 #

Patch Set 2 : Checkpoint #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -75 lines) Patch
M webrtc/voice_engine/channel.h View 1 chunk +1 line, -1 line 3 comments Download
M webrtc/voice_engine/channel.cc View 7 chunks +10 lines, -8 lines 2 comments Download
M webrtc/voice_engine/include/voe_external_media.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/mock/fake_voe_external_media.h View 1 chunk +2 lines, -2 lines 1 comment Download
M webrtc/voice_engine/output_mixer.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/test/auto_test/fakes/fake_media_process.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/standard/external_media_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/standard/neteq_stats_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/transmit_mixer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/voice_engine/transmit_mixer.cc View 5 chunks +9 lines, -7 lines 0 comments Download
M webrtc/voice_engine/transmit_mixer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/utility.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/voice_engine/utility.cc View 8 chunks +10 lines, -9 lines 1 comment Download
M webrtc/voice_engine/utility_unittest.cc View 1 6 chunks +14 lines, -12 lines 0 comments Download
M webrtc/voice_engine/voe_base_impl.h View 2 chunks +11 lines, -10 lines 0 comments Download
M webrtc/voice_engine/voe_base_impl.cc View 9 chunks +17 lines, -13 lines 0 comments Download
M webrtc/voice_engine/voice_engine_defines.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (2 generated)
Peter Kasting
5 years, 5 months ago (2015-07-10 19:52:43 UTC) #2
henrika_webrtc
https://codereview.webrtc.org/1224163002/diff/20001/webrtc/voice_engine/channel.h File webrtc/voice_engine/channel.h (right): https://codereview.webrtc.org/1224163002/diff/20001/webrtc/voice_engine/channel.h#newcode435 webrtc/voice_engine/channel.h:435: size_t number_of_frames, It is not clear to me why ...
5 years, 5 months ago (2015-07-13 07:38:08 UTC) #3
Peter Kasting
https://codereview.webrtc.org/1224163002/diff/20001/webrtc/voice_engine/channel.h File webrtc/voice_engine/channel.h (right): https://codereview.webrtc.org/1224163002/diff/20001/webrtc/voice_engine/channel.h#newcode435 webrtc/voice_engine/channel.h:435: size_t number_of_frames, On 2015/07/13 at 07:38:08, henrika_webrtc wrote: > ...
5 years, 5 months ago (2015-07-13 22:12:28 UTC) #5
henrika_webrtc
Nice work, thanks. LGTM. May I ask how you find the places where to make ...
5 years, 5 months ago (2015-07-14 07:54:01 UTC) #6
henrika_webrtc
https://codereview.webrtc.org/1224163002/diff/20001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/1224163002/diff/20001/webrtc/voice_engine/channel.cc#newcode3825 webrtc/voice_engine/channel.cc:3825: "Channel::MixAudioWithFile() samples_per_channel_(%" PRIuS ") != " Have not used ...
5 years, 5 months ago (2015-07-14 07:54:09 UTC) #7
pbos-webrtc
On 2015/07/14 07:54:09, henrika_webrtc wrote: > https://codereview.webrtc.org/1224163002/diff/20001/webrtc/voice_engine/channel.cc > File webrtc/voice_engine/channel.cc (right): > > https://codereview.webrtc.org/1224163002/diff/20001/webrtc/voice_engine/channel.cc#newcode3825 > ...
5 years, 5 months ago (2015-07-14 08:07:59 UTC) #8
pbos-webrtc
lgtm, but consider making channel counts size_t as well, since you multiply with them to ...
5 years, 5 months ago (2015-07-14 08:15:10 UTC) #9
Peter Kasting
On 2015/07/14 at 07:54:01, henrika wrote: > Nice work, thanks. LGTM. > > May I ...
5 years, 5 months ago (2015-07-14 17:39:51 UTC) #10
Peter Kasting
On 2015/07/14 at 08:15:10, pbos wrote: > lgtm, but consider making channel counts size_t as ...
5 years, 5 months ago (2015-07-14 17:40:43 UTC) #11
Peter Kasting
On 2015/07/14 at 17:40:43, Peter Kasting wrote: > On 2015/07/14 at 08:15:10, pbos wrote: > ...
5 years, 5 months ago (2015-07-17 00:13:47 UTC) #12
pbos-webrtc
5 years, 5 months ago (2015-07-17 04:02:56 UTC) #13
On 2015/07/17 00:13:47, Peter Kasting wrote:
> On 2015/07/14 at 17:40:43, Peter Kasting wrote:
> > On 2015/07/14 at 08:15:10, pbos wrote:
> > > lgtm, but consider making channel counts size_t as well, since you
multiply
> with them to make another size_t.
> > 
> > Yeah, I'm changing a lot of the channel counts to size_t, but that will
> probably be done as a followon set of patches; I'll likely make a decision on
> whether to try and lump those in today.
> 
> FYI, I'm going to do the channel counts change separately after this series of
> patches lands, as it is indeed large: https://codereview.webrtc.org/1238083005

thanks! :)

Powered by Google App Engine
This is Rietveld 408576698