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

Issue 14969017: Cleanup and reduce memory usage for MultiChannelResampler. (Closed)

Created:
7 years, 7 months ago by DaleCurtis
Modified:
7 years, 7 months ago
Reviewers:
xhwang
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Cleanup and reduce memory usage for MultiChannelResampler. Removes a vector allocation and an allocation for an unused channel in favor of AudioBus::CreateWrapper(). These allocations are also moved to the constructor now that SincResampler will always ask for the same amount of data. BUG=none TEST=media_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199521

Patch Set 1 : Cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -31 lines) Patch
M media/base/multi_channel_resampler.h View 2 chunks +3 lines, -5 lines 0 comments Download
M media/base/multi_channel_resampler.cc View 3 chunks +19 lines, -26 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
DaleCurtis
Its high time I sent you a code review :)
7 years, 7 months ago (2013-05-09 23:07:31 UTC) #1
xhwang
Good chance to learn about the audio world! I don't fully understand this CL but ...
7 years, 7 months ago (2013-05-10 00:44:30 UTC) #2
DaleCurtis
Discussed offline and xhwang@ is comfortable with commit. Thanks for review! CQ'ing.
7 years, 7 months ago (2013-05-10 16:32:08 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/14969017/2001
7 years, 7 months ago (2013-05-10 16:32:21 UTC) #4
commit-bot: I haz the power
7 years, 7 months ago (2013-05-10 19:32:25 UTC) #5
Message was sent while issue was closed.
Change committed as 199521

Powered by Google App Engine
This is Rietveld 408576698