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

Issue 396263004: Switch the input code to use AudioBlockFifo (Closed)

Created:
6 years, 5 months ago by no longer working on chromium
Modified:
6 years, 5 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Switch the input code to use AudioBlockFifo. It saves two memcpy and quite some intermedia AudioBus code. Also, this CL corrects a mistake in https://codereview.chromium.org/389623002/ by using FromInterleavedPartial() instead of FromInterleaved(). BUG=393199 TEST=bots and webrtc loopback test: https://apprtc.appspot.com Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284477

Patch Set 1 : #

Total comments: 10

Patch Set 2 : addressed the comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -89 lines) Patch
M content/renderer/media/webrtc_local_audio_renderer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc_local_audio_renderer.cc View 4 chunks +11 lines, -13 lines 0 comments Download
M media/audio/mac/audio_low_latency_input_mac.h View 1 2 chunks +3 lines, -11 lines 0 comments Download
M media/audio/mac/audio_low_latency_input_mac.cc View 1 3 chunks +15 lines, -38 lines 0 comments Download
M media/audio/pulse/pulse_input.h View 1 4 chunks +2 lines, -8 lines 0 comments Download
M media/audio/pulse/pulse_input.cc View 1 6 chunks +14 lines, -16 lines 0 comments Download
M media/base/audio_block_fifo.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M media/base/audio_block_fifo.cc View 1 3 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
no longer working on chromium
Dale, could you please review this CL? Thanks.
6 years, 5 months ago (2014-07-18 11:58:53 UTC) #1
DaleCurtis
Wrong Dale :) lgtm % nits. https://codereview.chromium.org/396263004/diff/20001/media/audio/mac/audio_low_latency_input_mac.cc File media/audio/mac/audio_low_latency_input_mac.cc (right): https://codereview.chromium.org/396263004/diff/20001/media/audio/mac/audio_low_latency_input_mac.cc#newcode50 media/audio/mac/audio_low_latency_input_mac.cc:50: fifo_(new AudioBlockFifo(input_params.channels(), number_of_frames_, ...
6 years, 5 months ago (2014-07-18 18:21:54 UTC) #2
no longer working on chromium
Thanks Mr Curtis :) https://codereview.chromium.org/396263004/diff/20001/media/audio/mac/audio_low_latency_input_mac.cc File media/audio/mac/audio_low_latency_input_mac.cc (right): https://codereview.chromium.org/396263004/diff/20001/media/audio/mac/audio_low_latency_input_mac.cc#newcode50 media/audio/mac/audio_low_latency_input_mac.cc:50: fifo_(new AudioBlockFifo(input_params.channels(), number_of_frames_, On 2014/07/18 ...
6 years, 5 months ago (2014-07-21 15:13:30 UTC) #3
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 5 months ago (2014-07-21 15:13:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/396263004/60001
6 years, 5 months ago (2014-07-21 15:14:18 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device on tryserver.chromium ...
6 years, 5 months ago (2014-07-21 17:10:27 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-07-21 19:36:57 UTC) #7
Message was sent while issue was closed.
Change committed as 284477

Powered by Google App Engine
This is Rietveld 408576698