)]}'
{
  "commit": "1afc26db11b71c43f63a0f72a45a803f1a7910dd",
  "tree": "7237e91d3b5ed733ab530046b81a350e4b732113",
  "parents": [
    "94a68ecf2b56bd56994d0352cbaad56e58dcf0dc"
  ],
  "author": {
    "name": "Eric Laurent",
    "email": "elaurent@google.com",
    "time": "Sun Sep 23 15:20:50 2012 -0700"
  },
  "committer": {
    "name": "Eric Laurent",
    "email": "elaurent@google.com",
    "time": "Sun Sep 23 15:20:50 2012 -0700"
  },
  "message": "fix end of track presentation on suspended output\n\nThe code detecting the end of an audio track presentation before\nremoving it from the active track list is based on the\ncount of audio frames sent to audio HAL. When an output stream\nis suspended (e.g. A2DP when SCO is active), this count does not\nchange and a track in stopped state will never be removed from\nactive track list causing the mixer thread to never release\nthe wake lock.\n\nThe fix consists in incrementing the audio HAL frame count even\nif the output is suspended.\n\nAlso fix a problem in getRenderPosition() when the output is suspended.\n\nBug 7167534.\n\nChange-Id: I3be836cbbea29b65dc087199cac6a1cd84c0a41d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "de116a9074f0a19e0d34c33cb9ab14518c382537",
      "old_mode": 33188,
      "old_path": "services/audioflinger/AudioFlinger.cpp",
      "new_id": "8e950aa5e15d30496eb4bb74e526b3f6a98fcb9c",
      "new_mode": 33188,
      "new_path": "services/audioflinger/AudioFlinger.cpp"
    }
  ]
}
