)]}'
{
  "commit": "2ba92c71b5684dce700cf848bf157153c156df1d",
  "tree": "4a5fd1c92f47a6557552adbb65898c35866d9662",
  "parents": [
    "138757db4f19cb626ef5c1d371d4fca004304a08"
  ],
  "author": {
    "name": "Jean-Michel Trivi",
    "email": "jmtrivi@google.com",
    "time": "Mon Nov 15 12:11:32 2010 -0800"
  },
  "committer": {
    "name": "Jean-Michel Trivi",
    "email": "jmtrivi@google.com",
    "time": "Wed Jan 26 11:20:01 2011 -0800"
  },
  "message": "do not merge bug 3370834 Cherrypick from master\n\nCherripick from master CL 79833, 79417, 78864, 80332, 87500\n\nAdd new audio mode and recording source for audio communications\n other than telelphony.\n\nThe audio mode MODE_IN_CALL signals the system the device a phone\n call is currently underway. There was no way for audio video\n chat or VoIP applications to signal a call is underway, but not\n using the telephony resources. This change introduces a new mode\n to address this. Changes in other parts of the system (java\n and native) are required to take this new mode into account.\nThe generic AudioPolicyManager is updated to not use its phone\n state variable directly, but to use two new convenience methods,\n isInCall() and isStateInCall(int) instead.\n\nAdd a recording source used to designate a recording stream for\nvoice communications such as VoIP.\n\nUpdate the platform-independent audio policy manager to pass the\n nature of the audio recording source to the audio policy client\n interface through the AudioPolicyClientInterface::setParameters()\n method.\n\nSIP calls should set the audio mode to MODE_IN_COMMUNICATION,\n Audio mode MODE_IN_CALL is reserved for telephony.\n\nSIP: Enable built-in echo canceler if available.\n1. Always initialize AudioRecord with VOICE_COMMUNICATION.\n2. If echo canceler is available, disable our echo suppressor.\n\nNote that this CL is intentionally not correcting the\n getAudioSourceMax() return value in MediaRecorder.java as the\n new source is hidden here.\n\nChange-Id: Ie68cd03c50553101aa2ad838fe9459b2cf151bc8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9fd905fc9ebc469798621a80b21b8feadbf05ba9",
      "old_mode": 33188,
      "old_path": "include/media/AudioSystem.h",
      "new_id": "e881747a5f1977527a25fbb25d3d69bd7e6e53a9",
      "new_mode": 33188,
      "new_path": "include/media/AudioSystem.h"
    },
    {
      "type": "modify",
      "old_id": "16fb43cf750c545b684d4ea461b57d631f7a7c90",
      "old_mode": 33188,
      "old_path": "include/media/EffectApi.h",
      "new_id": "b97c22ebb624fbbb51baf082c7c901cd680041d0",
      "new_mode": 33188,
      "new_path": "include/media/EffectApi.h"
    },
    {
      "type": "modify",
      "old_id": "5ab1640bfe1c0d9424b11216bee739ae14b1f0d1",
      "old_mode": 33188,
      "old_path": "include/media/mediarecorder.h",
      "new_id": "9a76393592fc042df3c39bec4b928e96b3cdd805",
      "new_mode": 33188,
      "new_path": "include/media/mediarecorder.h"
    },
    {
      "type": "modify",
      "old_id": "bbbba7472271ea74287fa59d3c66e710b1c1ad8e",
      "old_mode": 33188,
      "old_path": "media/java/android/media/AudioManager.java",
      "new_id": "4459505c63e44a7d710c44d23081dcd96db6e0f1",
      "new_mode": 33188,
      "new_path": "media/java/android/media/AudioManager.java"
    },
    {
      "type": "modify",
      "old_id": "c48eaade5b47cc9ca70f1516856fa5809396a6fc",
      "old_mode": 33188,
      "old_path": "media/java/android/media/AudioRecord.java",
      "new_id": "0eb39db7a07415dc36c12184e933b5d20423a63a",
      "new_mode": 33188,
      "new_path": "media/java/android/media/AudioRecord.java"
    },
    {
      "type": "modify",
      "old_id": "41d2cc5697d49d53b068cd709c11bcf576c21a39",
      "old_mode": 33188,
      "old_path": "media/java/android/media/AudioService.java",
      "new_id": "06e00c5b5948bd22e9ff72016d8a5aa33e1ddf2e",
      "new_mode": 33188,
      "new_path": "media/java/android/media/AudioService.java"
    },
    {
      "type": "modify",
      "old_id": "a4818ffe0a0b83e86b839cd6a4aaa92eba883f8b",
      "old_mode": 33188,
      "old_path": "media/java/android/media/AudioSystem.java",
      "new_id": "4ddbb35730e9371e6920407d4108d4007aa635ea",
      "new_mode": 33188,
      "new_path": "media/java/android/media/AudioSystem.java"
    },
    {
      "type": "modify",
      "old_id": "32c02bcd14b2d9ed58e46d84d35c8f048913aba1",
      "old_mode": 33188,
      "old_path": "media/java/android/media/MediaRecorder.java",
      "new_id": "d9f230285be668f91fd676bd20511d5eba9ed0f0",
      "new_mode": 33188,
      "new_path": "media/java/android/media/MediaRecorder.java"
    },
    {
      "type": "modify",
      "old_id": "9c2a8ba3ab3c3f246cbdfbe395b6f80b704158cb",
      "old_mode": 33188,
      "old_path": "media/libmedia/AudioSystem.cpp",
      "new_id": "1a3fcd6c3870298e3c9976ee8262eeed1acdb615",
      "new_mode": 33188,
      "new_path": "media/libmedia/AudioSystem.cpp"
    },
    {
      "type": "modify",
      "old_id": "5071555841c7adc7dd38fe3e3c6fcac4403cdce6",
      "old_mode": 33188,
      "old_path": "services/audioflinger/AudioFlinger.cpp",
      "new_id": "5935bf9e7f14e5b4e5076e05eaaeed6e9f695bfd",
      "new_mode": 33188,
      "new_path": "services/audioflinger/AudioFlinger.cpp"
    },
    {
      "type": "modify",
      "old_id": "9a4a7f9d71a583f0136c4cda5fad30000447781e",
      "old_mode": 33188,
      "old_path": "services/audioflinger/AudioHardwareInterface.cpp",
      "new_id": "f58e4c08663d3d1eed2222d522e7d86fd7337f8a",
      "new_mode": 33188,
      "new_path": "services/audioflinger/AudioHardwareInterface.cpp"
    },
    {
      "type": "modify",
      "old_id": "8d16ab4eeaa3c94b1fbd8a22430c274922d279b3",
      "old_mode": 33188,
      "old_path": "services/audioflinger/AudioPolicyManagerBase.cpp",
      "new_id": "0da353a46445c8b3abf5e9e777dd9e90cd8be1dc",
      "new_mode": 33188,
      "new_path": "services/audioflinger/AudioPolicyManagerBase.cpp"
    },
    {
      "type": "modify",
      "old_id": "0335ca21a9db920a9e5c28122e7a8e5abf641233",
      "old_mode": 33188,
      "old_path": "telephony/java/com/android/internal/telephony/CallManager.java",
      "new_id": "b89058f7867ce1f504f93c8388bb4603eaee3442",
      "new_mode": 33188,
      "new_path": "telephony/java/com/android/internal/telephony/CallManager.java"
    },
    {
      "type": "modify",
      "old_id": "60abf2a9ae4bece2765533744f99bf3d6604e90c",
      "old_mode": 33188,
      "old_path": "voip/jni/rtp/AudioGroup.cpp",
      "new_id": "2cbd023de9d8460a4c415a70e314f84af3290c0e",
      "new_mode": 33188,
      "new_path": "voip/jni/rtp/AudioGroup.cpp"
    }
  ]
}
