)]}'
{
  "commit": "071ccd5a9702500f3f7d62ef881300914926184d",
  "tree": "2ffdfd9dbc064aa3d2a9b229f87b679220ef4f79",
  "parents": [
    "69aac3e6cd68e8c305a41b2677123db7662efd4b"
  ],
  "author": {
    "name": "Eric Laurent",
    "email": "elaurent@google.com",
    "time": "Thu Dec 22 16:08:41 2011 -0800"
  },
  "committer": {
    "name": "Eric Laurent",
    "email": "elaurent@google.com",
    "time": "Thu Dec 22 16:08:41 2011 -0800"
  },
  "message": "audioflinger: fix clicks on 48kHz audio.\n\nThe calculation done in prepareTracks_l() for the minimum amount\noff frames needed to mix one output buffer had 2 issues:\n- the additional sample needed for interpolation was not included\n- the fact that the resampler does not acknowledge the frames consumed\nimmediately after each mixing round but only once all frames requested have been used\nwas not taken into account.\nThus the number of frames available in track buffer could be considered sufficient although\nit was not and the resampler would abort producing a short silence perceived as a click.\n\nIssue 5727099.\n\nChange-Id: I7419847a7474c7d9f9170bedd0a636132262142c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e9ac3f93e8a06fca51d43dde704f73c5a1dbf731",
      "old_mode": 33188,
      "old_path": "services/audioflinger/AudioFlinger.cpp",
      "new_id": "060a6322029f015cd6d6f4b0245b3831e5c5b3ea",
      "new_mode": 33188,
      "new_path": "services/audioflinger/AudioFlinger.cpp"
    },
    {
      "type": "modify",
      "old_id": "6e9319d81699513768d128c47e61e5056257729e",
      "old_mode": 33188,
      "old_path": "services/audioflinger/AudioMixer.cpp",
      "new_id": "1200f75f13d8363be64f233355c8c06464f107e8",
      "new_mode": 33188,
      "new_path": "services/audioflinger/AudioMixer.cpp"
    },
    {
      "type": "modify",
      "old_id": "75c91700e3525b957a60c3a3c8763348ff729f9c",
      "old_mode": 33188,
      "old_path": "services/audioflinger/AudioMixer.h",
      "new_id": "0137185d936fac87206df68eb7390f204a0b0475",
      "new_mode": 33188,
      "new_path": "services/audioflinger/AudioMixer.h"
    },
    {
      "type": "modify",
      "old_id": "9f06c1cf1d2f3286c5c31dc919479ccd07197de2",
      "old_mode": 33188,
      "old_path": "services/audioflinger/AudioResampler.h",
      "new_id": "ffa690afd0ad7bbfbfe2876f7fec5a8a4a565c0d",
      "new_mode": 33188,
      "new_path": "services/audioflinger/AudioResampler.h"
    }
  ]
}
