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

Issue 600143002: Adding new function ReadFrames() that returns the audio frame in planar (Closed)

Created:
6 years, 2 months ago by pwestin(chromium)
Modified:
6 years, 1 month ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adding new function ReadFrames() that returns the audio frame in planar format int32. BUG= Committed: https://crrev.com/34e0ac22e25cfac606296646ecb765fa4bd3b54e Cr-Commit-Position: refs/heads/master@{#297340}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Changed to signed 32 bit interleaved mode. #

Patch Set 3 : Updated description #

Patch Set 4 : Adding trim_start_. #

Total comments: 4

Patch Set 5 : Draft of unittest #

Patch Set 6 : Addressing Dales comments #

Patch Set 7 : Functioning unittests #

Total comments: 8

Patch Set 8 : Added a template function to make the code have less repeated code #

Patch Set 9 : Actually include the template function #

Total comments: 4

Patch Set 10 : Fixing nits #

Patch Set 11 : Move files to lib target #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M media/mojo/services/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
pwestin(chromium)
On 2014/09/24 21:41:27, pwestin(chromium) wrote: > mailto:pwestin@chromium.org changed reviewers: > + mailto:dalecurtis@chromium.org Dale; please have ...
6 years, 2 months ago (2014-09-24 21:42:51 UTC) #2
DaleCurtis
Rough comments only for now. I'll take a look at your conversion methods more closely ...
6 years, 2 months ago (2014-09-24 22:30:17 UTC) #3
pwestin(chromium)
On 2014/09/24 22:30:17, DaleCurtis wrote: > Rough comments only for now. I'll take a look ...
6 years, 2 months ago (2014-09-25 22:21:18 UTC) #4
DaleCurtis
Can you add some unittests for this? You might consider adding a perftest if that's ...
6 years, 2 months ago (2014-09-25 22:30:44 UTC) #5
pwestin(chromium)
On 2014/09/25 22:30:44, DaleCurtis wrote: > Can you add some unittests for this? You might ...
6 years, 2 months ago (2014-09-26 18:24:42 UTC) #6
DaleCurtis
https://codereview.chromium.org/600143002/diff/120001/media/base/audio_buffer.cc File media/base/audio_buffer.cc (right): https://codereview.chromium.org/600143002/diff/120001/media/base/audio_buffer.cc#newcode258 media/base/audio_buffer.cc:258: DCHECK_LE(frames_to_copy, channel_count_ * adjusted_frame_count_); frames_to_copy must be per channel. ...
6 years, 2 months ago (2014-09-26 23:02:41 UTC) #7
pwestin(chromium)
PTAL https://codereview.chromium.org/600143002/diff/120001/media/base/audio_buffer.cc File media/base/audio_buffer.cc (right): https://codereview.chromium.org/600143002/diff/120001/media/base/audio_buffer.cc#newcode258 media/base/audio_buffer.cc:258: DCHECK_LE(frames_to_copy, channel_count_ * adjusted_frame_count_); On 2014/09/26 23:02:41, DaleCurtis ...
6 years, 2 months ago (2014-09-29 22:54:47 UTC) #8
DaleCurtis
lgtm % nits. https://codereview.chromium.org/600143002/diff/160001/media/base/audio_buffer.cc File media/base/audio_buffer.cc (right): https://codereview.chromium.org/600143002/diff/160001/media/base/audio_buffer.cc#newcode266 media/base/audio_buffer.cc:266: ++i, offset += channel_data.size()) {} since ...
6 years, 2 months ago (2014-09-29 23:01:33 UTC) #9
pwestin(chromium)
PTAL, thanks for all your hand-holding on this one https://codereview.chromium.org/600143002/diff/160001/media/base/audio_buffer.cc File media/base/audio_buffer.cc (right): https://codereview.chromium.org/600143002/diff/160001/media/base/audio_buffer.cc#newcode266 media/base/audio_buffer.cc:266: ...
6 years, 2 months ago (2014-09-30 00:15:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/600143002/180001
6 years, 2 months ago (2014-09-30 00:16:14 UTC) #12
commit-bot: I haz the power
Committed patchset #10 (id:180001) as b7f61804740aae8c4d401752d6ba5b702a7509ec
6 years, 2 months ago (2014-09-30 02:00:47 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-09-30 02:01:27 UTC) #14
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/34e0ac22e25cfac606296646ecb765fa4bd3b54e
Cr-Commit-Position: refs/heads/master@{#297340}

Powered by Google App Engine
This is Rietveld 408576698