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

Issue 2684983004: Added handling of 'agc_compression_gain' flag in audioproc_f. (Closed)

Created:
3 years, 10 months ago by aleloi
Modified:
3 years, 10 months ago
Reviewers:
peah-webrtc
CC:
webrtc-reviews_webrtc.org, peah-webrtc, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Added handling of 'agc_compression_gain' flag in audioproc_f. The test program modules/audio_processing/test/audioproc_float.cc defined the flag 'agc_compression_gain' and had checks if the parameter was valid (audioproc_float). The flag was also copied to webrtc::test::SimulationSettings of audio_processing_simulator.h. The setting was however never applied to APM. This change applies the setting on the GainControl submodule in the same way as the agc_target_level is applied. This is needed for e.g. testing the AGC fixed digital limiter with the same configuration as it is (currently) used with in AudioMixerImpl. Also added new flag '-experimental_agc'. This flag allows disabling the experimental AGC, which is how the AGC is used in AudioMixerImpl. ExperimentalAgc is enabled by default, exactly as it was prior to this change. The change has been tested locally by listening tests and diff comparisons. BUG=None NOTRY=True # win_dbg bot not cooperating Review-Url: https://codereview.webrtc.org/2684983004 Cr-Commit-Position: refs/heads/master@{#16603} Committed: https://chromium.googlesource.com/external/webrtc/+/a3b2add27d01bd9339185c17d0a6ffe62701ba54

Patch Set 1 #

Patch Set 2 : Added option for experimental_agc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M webrtc/modules/audio_processing/test/audio_processing_simulator.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_processing/test/audio_processing_simulator.cc View 1 2 chunks +7 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/test/audioproc_float.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
aleloi
Small simple change, PTAL!
3 years, 10 months ago (2017-02-09 09:41:03 UTC) #2
peah-webrtc
Awesome!! LGTM
3 years, 10 months ago (2017-02-13 20:49:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2684983004/20001
3 years, 10 months ago (2017-02-14 09:28:18 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_dbg/builds/16188)
3 years, 10 months ago (2017-02-14 09:57:30 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2684983004/20001
3 years, 10 months ago (2017-02-14 10:04:56 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 10:07:54 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/a3b2add27d01bd9339185c17d...

Powered by Google App Engine
This is Rietveld 408576698