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

Issue 1338833002: Fix the maximum native sample rate in AudioProcessing (Closed)

Created:
5 years, 3 months ago by aluebs-webrtc
Modified:
5 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, hlundin-webrtc, kwiberg-webrtc, bjornv1, tlegrand-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix the maximum native sample rate in AudioProcessing BUG=webrtc:4983 R=andrew@webrtc.org, henrik.lundin@webrtc.org Committed: https://crrev.com/cdfe20bfc1146030aa59eb37635fd2fbcecd6cdb Cr-Commit-Position: refs/heads/master@{#10037}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix 44k1 sample rate #

Total comments: 11

Patch Set 3 : Refactor conversions #

Total comments: 6

Patch Set 4 : Use minimum number of channels #

Total comments: 6

Patch Set 5 : Integrate the sample rate check #

Patch Set 6 : Improve documentation #

Patch Set 7 : Format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -187 lines) Patch
M webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 2 3 4 3 chunks +20 lines, -11 lines 0 comments Download
M webrtc/modules/audio_processing/include/audio_processing.h View 1 2 3 4 3 chunks +6 lines, -2 lines 0 comments Download
M webrtc/voice_engine/channel.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 4 5 6 1 chunk +6 lines, -13 lines 0 comments Download
M webrtc/voice_engine/transmit_mixer.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/voice_engine/transmit_mixer.cc View 1 2 3 4 5 6 1 chunk +16 lines, -22 lines 0 comments Download
M webrtc/voice_engine/utility.h View 1 2 3 4 5 1 chunk +16 lines, -22 lines 0 comments Download
M webrtc/voice_engine/utility.cc View 1 2 2 chunks +22 lines, -67 lines 0 comments Download
M webrtc/voice_engine/utility_unittest.cc View 1 2 5 chunks +7 lines, -46 lines 0 comments Download

Messages

Total messages: 17 (2 generated)
aluebs-webrtc
Henrik, could you please have a quick look at this tiny fix for the 48kHz ...
5 years, 3 months ago (2015-09-11 18:01:21 UTC) #2
Andrew MacDonald
https://codereview.webrtc.org/1338833002/diff/1/webrtc/modules/audio_processing/include/audio_processing.h File webrtc/modules/audio_processing/include/audio_processing.h (right): https://codereview.webrtc.org/1338833002/diff/1/webrtc/modules/audio_processing/include/audio_processing.h#newcode131 webrtc/modules/audio_processing/include/audio_processing.h:131: static const int kAudioProcMaxNativeSampleRateHz = 48000; Looks like this ...
5 years, 3 months ago (2015-09-11 18:06:23 UTC) #4
hlundin-webrtc
LGTM modulo Andrew's comment.
5 years, 3 months ago (2015-09-14 07:44:24 UTC) #5
aluebs-webrtc
PTAL, I had to add some logic to handle the 44100 sample rate case. https://codereview.webrtc.org/1338833002/diff/1/webrtc/modules/audio_processing/include/audio_processing.h ...
5 years, 3 months ago (2015-09-15 22:56:09 UTC) #6
Andrew MacDonald
https://codereview.webrtc.org/1338833002/diff/20001/webrtc/modules/audio_processing/include/audio_processing.h File webrtc/modules/audio_processing/include/audio_processing.h (right): https://codereview.webrtc.org/1338833002/diff/20001/webrtc/modules/audio_processing/include/audio_processing.h#newcode476 webrtc/modules/audio_processing/include/audio_processing.h:476: static const int kAudioProcNativeSampleRatesHz[] = { nit: Make these ...
5 years, 3 months ago (2015-09-16 02:35:09 UTC) #7
aluebs-webrtc
https://codereview.webrtc.org/1338833002/diff/20001/webrtc/modules/audio_processing/include/audio_processing.h File webrtc/modules/audio_processing/include/audio_processing.h (right): https://codereview.webrtc.org/1338833002/diff/20001/webrtc/modules/audio_processing/include/audio_processing.h#newcode476 webrtc/modules/audio_processing/include/audio_processing.h:476: static const int kAudioProcNativeSampleRatesHz[] = { On 2015/09/16 02:35:08, ...
5 years, 3 months ago (2015-09-16 03:02:53 UTC) #8
Andrew MacDonald
https://codereview.webrtc.org/1338833002/diff/20001/webrtc/modules/audio_processing/include/audio_processing.h File webrtc/modules/audio_processing/include/audio_processing.h (right): https://codereview.webrtc.org/1338833002/diff/20001/webrtc/modules/audio_processing/include/audio_processing.h#newcode476 webrtc/modules/audio_processing/include/audio_processing.h:476: static const int kAudioProcNativeSampleRatesHz[] = { On 2015/09/16 03:02:53, ...
5 years, 3 months ago (2015-09-16 04:04:08 UTC) #9
hlundin-webrtc
One nit. Otherwise I delegate my reviewing power to Andrew in this case. https://codereview.webrtc.org/1338833002/diff/20001/webrtc/voice_engine/utility.cc File ...
5 years, 3 months ago (2015-09-16 13:45:49 UTC) #10
aluebs-webrtc
https://codereview.webrtc.org/1338833002/diff/20001/webrtc/modules/audio_processing/include/audio_processing.h File webrtc/modules/audio_processing/include/audio_processing.h (right): https://codereview.webrtc.org/1338833002/diff/20001/webrtc/modules/audio_processing/include/audio_processing.h#newcode476 webrtc/modules/audio_processing/include/audio_processing.h:476: static const int kAudioProcNativeSampleRatesHz[] = { On 2015/09/16 04:04:08, ...
5 years, 3 months ago (2015-09-22 01:35:29 UTC) #11
Andrew MacDonald
https://codereview.webrtc.org/1338833002/diff/20001/webrtc/voice_engine/utility.cc File webrtc/voice_engine/utility.cc (right): https://codereview.webrtc.org/1338833002/diff/20001/webrtc/voice_engine/utility.cc#newcode90 webrtc/voice_engine/utility.cc:90: int destination_rate; On 2015/09/22 01:35:29, aluebs-webrtc wrote: > Agreed. ...
5 years, 3 months ago (2015-09-23 02:35:53 UTC) #12
aluebs-webrtc
https://codereview.webrtc.org/1338833002/diff/40001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/1338833002/diff/40001/webrtc/voice_engine/channel.cc#newcode3347 webrtc/voice_engine/channel.cc:3347: _audioFrame.num_channels_ = codec.channels; On 2015/09/23 02:35:52, Andrew MacDonald wrote: ...
5 years, 3 months ago (2015-09-23 17:13:43 UTC) #13
Andrew MacDonald
lgtm https://codereview.webrtc.org/1338833002/diff/60001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/1338833002/diff/60001/webrtc/voice_engine/channel.cc#newcode3344 webrtc/voice_engine/channel.cc:3344: // Never upsample the capture signal here. This ...
5 years, 3 months ago (2015-09-23 17:31:47 UTC) #14
aluebs-webrtc
https://codereview.webrtc.org/1338833002/diff/60001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/1338833002/diff/60001/webrtc/voice_engine/channel.cc#newcode3344 webrtc/voice_engine/channel.cc:3344: // Never upsample the capture signal here. This should ...
5 years, 3 months ago (2015-09-23 19:48:54 UTC) #15
aluebs-webrtc
Committed patchset #7 (id:120001) manually as cdfe20bfc1146030aa59eb37635fd2fbcecd6cdb (presubmit successful).
5 years, 3 months ago (2015-09-23 19:49:28 UTC) #16
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 19:49:32 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/cdfe20bfc1146030aa59eb37635fd2fbcecd6cdb
Cr-Commit-Position: refs/heads/master@{#10037}

Powered by Google App Engine
This is Rietveld 408576698