)]}'
{
  "commit": "d9cfeb447356cb6334379eaf5da1e49424eb5979",
  "tree": "5bae7d5985563f2cbbf9cc9cc1a5fca422cb8390",
  "parents": [
    "20f51b1ea04c410a25f214e37bcdb586e2a028cc"
  ],
  "author": {
    "name": "Jean-Michel Trivi",
    "email": "jmtrivi@google.com",
    "time": "Mon Sep 22 16:51:34 2014 -0700"
  },
  "committer": {
    "name": "Jean-Michel Trivi",
    "email": "jmtrivi@google.com",
    "time": "Fri Oct 31 14:12:20 2014 -0700"
  },
  "message": "Support speaker routing for FLAG_BEACON\n\nAdd support for routing audio stream to the speaker when audio\n  attributes carry the FLAG_BEACON value:\n- associate streams with FLAG_BEACON to the up-to-now unused\n  STREAM_TTS (\"Transmitted Through Speaker\").\n  The remapping happens in AudioTrack.\n- AudioPolicyManager: define new strategy for handling the Beacon\n  behavior, that only goes to speaker. Define new volume curves\n  for STREAM_TTS that are not silence only for the speaker device\n  category. Keep ref count of other streams and never play Beacon\n  streams when anything else is playing: either don\u0027t start playback\n  if something else is playing, or unmute STREAM_TTS when it\u0027s\n  allowed to play and mute when it\u0027s done.\n- Take into account muting latency when starting an output.\n\nBug 15415971\n\nChange-Id: I26539c7ec1a486accd85bbeb1623e9c7d3a1192f\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0a89fbbb404e6aa15eb37a477a4ab34431313e4a",
      "old_mode": 33188,
      "old_path": "media/libmedia/AudioTrack.cpp",
      "new_id": "97c8d847b4b3be3ed2c9c97a5d698d2d6573cfc7",
      "new_mode": 33188,
      "new_path": "media/libmedia/AudioTrack.cpp"
    },
    {
      "type": "modify",
      "old_id": "5567800980d029f5f5766bf79478a69a7e0ea726",
      "old_mode": 33188,
      "old_path": "services/audiopolicy/AudioPolicyManager.cpp",
      "new_id": "584e170fbabb496bf170cb31322f009aba607f96",
      "new_mode": 33188,
      "new_path": "services/audiopolicy/AudioPolicyManager.cpp"
    },
    {
      "type": "modify",
      "old_id": "7dbd73f971f468b5d6b0a3dc5084ffe18ed1206e",
      "old_mode": 33188,
      "old_path": "services/audiopolicy/AudioPolicyManager.h",
      "new_id": "50d7831a369dce76cbf5520b3b4459f486aa1a3e",
      "new_mode": 33188,
      "new_path": "services/audiopolicy/AudioPolicyManager.h"
    }
  ]
}
