)]}'
{
  "commit": "40b5bd72d0d7d62d81bd8bcc3f8cae0d15877f5b",
  "tree": "ce213e2319f051dc9c476417a84f635fa9a1911a",
  "parents": [
    "f7a46e55cba6d39cc3f9e48a0ab04463e0ba06b9"
  ],
  "author": {
    "name": "Alessio Bazzica",
    "email": "alessiob@webrtc.org",
    "time": "Mon Jan 16 19:19:48 2023"
  },
  "committer": {
    "name": "WebRTC LUCI CQ",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Jan 16 20:30:12 2023"
  },
  "message": "APM: fix TS initialization bugs with `WebRTC-Audio-GainController2`\n\nWhen the `WebRTC-Audio-GainController2` field trial is used, the\ninitial APM configuration is adjusted depending on its original\nvalues and the field trial parameters.\n\nThis CL fixes two cases when the code crashes:\n1. when, in the initial APM config, AGC1 is enabled, AGC2 is\n   disabled and TS is enabled\n2. when the initial APM sample rate is different from the\n   capture one and the VAD APM sub-module is not re-initialized\n\nThis CL also improves the unit tests coverage and it has been\ntested offline to check that the VAD sub-module is created only\nwhen expected and that AGC2 uses its internal VAD when expected.\nThe tests ran on a few Wav files with different sample rates and\none AEC dump and on 16 different APM and field trial\nconfigurations.\n\nBug: chromium:1407341, b/265112132\nChange-Id: I7cc267ea81cb02be92c1f37f273b7ae93b6e4634\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/290988\nCommit-Queue: Alessio Bazzica \u003calessiob@webrtc.org\u003e\nReviewed-by: Olga Sharonova \u003colka@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#39118}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "745e45ce72a3d3948de831f74efa420405840d41",
      "old_mode": 33188,
      "old_path": "modules/audio_processing/audio_processing_impl.cc",
      "new_id": "c80cc76a3d8294448bd30a966e1527eae35f340e",
      "new_mode": 33188,
      "new_path": "modules/audio_processing/audio_processing_impl.cc"
    },
    {
      "type": "modify",
      "old_id": "b4b3de2f2b0488caa8b417747fa68f84f9ecda54",
      "old_mode": 33188,
      "old_path": "modules/audio_processing/audio_processing_impl.h",
      "new_id": "fe80e0d9120f59963297786287ac7b01b81b1f11",
      "new_mode": 33188,
      "new_path": "modules/audio_processing/audio_processing_impl.h"
    },
    {
      "type": "modify",
      "old_id": "633dd85d9d7670792d1d86867561f340e2aedaa1",
      "old_mode": 33188,
      "old_path": "modules/audio_processing/audio_processing_impl_unittest.cc",
      "new_id": "7c12a07ed9c3ac2ad1c61e1fa8db373dd7a65f2a",
      "new_mode": 33188,
      "new_path": "modules/audio_processing/audio_processing_impl_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "9beaf008239c6130d76a1300fdd8303050683fcd",
      "old_mode": 33188,
      "old_path": "modules/audio_processing/gain_controller2.cc",
      "new_id": "dd3521268ddfb83f3ac775468322be332c475828",
      "new_mode": 33188,
      "new_path": "modules/audio_processing/gain_controller2.cc"
    },
    {
      "type": "modify",
      "old_id": "c3d0e5947a2c738d476a9e2585f0551cc171e346",
      "old_mode": 33188,
      "old_path": "modules/audio_processing/gain_controller2_unittest.cc",
      "new_id": "5023bab6175b10ecdebaa3bc955af74bbc1b2de5",
      "new_mode": 33188,
      "new_path": "modules/audio_processing/gain_controller2_unittest.cc"
    }
  ]
}
