)]}'
{
  "log": [
    {
      "commit": "142f519aa1acd5804d111e60d100f170fed28405",
      "tree": "aaffc4a234a4b0a5e719374056edf12eb2333b29",
      "parents": [
        "ecdca392ed40e89a6ef14b86446e952c35497ac4"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Mar 25 17:44:59 2014 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Mar 26 14:56:54 2014 -0700"
      },
      "message": "Use symbol AUDIO_IO_HANDLE_NONE from \u003csystem/audio.h\u003e\n\nChange-Id: Id6b1aa17558eb73e17f22b8eab6cd02e00a96dff\n"
    },
    {
      "commit": "ecdca392ed40e89a6ef14b86446e952c35497ac4",
      "tree": "bf796efe37aca6ded41ca0ad4291ca344af337ac",
      "parents": [
        "51beebba9d4989d05831a13bbe5cdf53ecac1bf5",
        "66e4635cb09fadcaccf912f37c387396c428378a"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Mar 26 21:29:28 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Wed Mar 26 21:29:28 2014 +0000"
      },
      "message": "Merge \"Use symbolic constants from \u003csystem/audio.h\u003e\""
    },
    {
      "commit": "8c7b9fb41585fccb06573252823b929c82a40999",
      "tree": "b15b9c23c2440bf1df24350f1034064016110897",
      "parents": [
        "f7f21b93bfce562784ee8f632fb01a2f8e4ffa6b",
        "241618f1b286f9e7e02fe61e96d9194e2e1e8a7a"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Mar 26 20:44:48 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Wed Mar 26 20:44:49 2014 +0000"
      },
      "message": "Merge \"Remove streamType parameter from AudioSystem::getLatency()\""
    },
    {
      "commit": "ebb80e4f9873cc1a5ee3f766323f622bb0c07ae5",
      "tree": "c78d80901828a831e4562847f6ecaf03211bb2bc",
      "parents": [
        "1392eb3d1802e9f894f87d7a7387207d1b6faca1"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Mar 26 08:21:17 2014 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Mar 26 08:27:13 2014 -0700"
      },
      "message": "Remove dead code\n\nChange-Id: I0878d11451c7bbbf96b59f5fe0cd97ba1f033aa9\n"
    },
    {
      "commit": "241618f1b286f9e7e02fe61e96d9194e2e1e8a7a",
      "tree": "fcec6a520e30f66bbb1b5e072f8aadb247724a67",
      "parents": [
        "1392eb3d1802e9f894f87d7a7387207d1b6faca1"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Mar 25 17:48:57 2014 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Mar 25 18:09:12 2014 -0700"
      },
      "message": "Remove streamType parameter from AudioSystem::getLatency()\n\nChange-Id: Ie7346e93436ddc215cad7d16be555dcb6c277d54\n"
    },
    {
      "commit": "66e4635cb09fadcaccf912f37c387396c428378a",
      "tree": "7982a54dbc04375babd42e59c03ef930454a9687",
      "parents": [
        "1392eb3d1802e9f894f87d7a7387207d1b6faca1"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Jan 16 17:44:23 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Mar 25 16:22:54 2014 -0700"
      },
      "message": "Use symbolic constants from \u003csystem/audio.h\u003e\n\nAUDIO_INTERLEAVE_*\nAUDIO_STREAM_MIN\nAUDIO_SESSION_ALLOCATE\n\nChange-Id: I31dd6f327204685e50716079ce21c4ba206dff11\n"
    },
    {
      "commit": "c5a17425986b4ce3384e6956762c86018b49c4a0",
      "tree": "313484677c719c944bc7923b0c3766cba3bef5c6",
      "parents": [
        "c3df838434b37d8400eea2438083cc01a4c1cc71"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Mar 13 14:59:59 2014 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Mar 14 14:49:36 2014 -0700"
      },
      "message": "Remove name output parameter from createTrack\n\nIt was only used for one log.\nA better solution will be a per-track unique ID.\n\nChange-Id: Ia440e02ae4a5a4019a9a2d08970e1ee93ac4c3a3\n"
    },
    {
      "commit": "c644345b0b8f5292a049c4cee2bb7a2a6159b884",
      "tree": "423a2a937e693746189cf51852d0e727c418471b",
      "parents": [
        "1ac1638077277de52d1dd4c54db71e67753f1960",
        "720ad9ddb2ac6b55b0dfbfcd2d8360151d8ac427"
      ],
      "author": {
        "name": "Jean-Michel Trivi",
        "email": "jmtrivi@google.com",
        "time": "Tue Mar 11 17:12:36 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Tue Mar 11 17:12:37 2014 +0000"
      },
      "message": "Merge \"AudioTrack non-blocking write\""
    },
    {
      "commit": "3a90f2849d49bf65f2d6257fd6da30ae46d745fa",
      "tree": "992a54b006e96de6f62b2b0420bf352935b775c9",
      "parents": [
        "664334fc2204b9968e1600313383f5a6ff321811"
      ],
      "author": {
        "name": "Marco Nelissen",
        "email": "marcone@google.com",
        "time": "Mon Mar 10 11:21:43 2014 -0700"
      },
      "committer": {
        "name": "Marco Nelissen",
        "email": "marcone@google.com",
        "time": "Mon Mar 10 11:21:43 2014 -0700"
      },
      "message": "Fix freeze on pause\n\nisOffloaded() tries to lock mLock again. We should be calling isOffloaded_l()\nb/13394633\n\nChange-Id: I155be6fee937f894d8e6c974e593223ab6014ade\n"
    },
    {
      "commit": "1c32a00b8750998562a8d76351ba5c6d2ed788c8",
      "tree": "68ac5f1ccd1c53a7ba7da918eec2ea96c5918b94",
      "parents": [
        "1bdf803fde294017d8b504891618f688a21a2e75",
        "96f04886d1c1bfbc422e2be033ea66be83e42441"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Mar 07 01:28:22 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Mar 07 01:28:23 2014 +0000"
      },
      "message": "Merge \"Simplify AudioTrack stream end and fix race\""
    },
    {
      "commit": "7064fd2dcdfeafea53cd5a992bb78c413542f29f",
      "tree": "eb8961194a192128c7db06f5c0de50f9a72b93cd",
      "parents": [
        "48588bdd9ec1102a5e96b9033d1ed8b8d6a3b3ba"
      ],
      "author": {
        "name": "Haynes Mathew George",
        "email": "hgeorge@codeaurora.org",
        "time": "Wed Jan 08 13:59:53 2014 -0800"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Thu Mar 06 11:38:38 2014 -0800"
      },
      "message": "AudioTrack: When paused, return cached playback position\n\nAn offload output can be re-used between two audio tracks having\nthe same configuration. A timestamp query for a paused track\nwhile the other is running would return an incorrect time.\nTo fix this, cache the playback position on a pause() and return\nthis time when requested until the track is resumed.\n\nBug: 12826612.\nChange-Id: I324112ea9827e52fff53ef44cd8513c8d85a0bc4\n"
    },
    {
      "commit": "720ad9ddb2ac6b55b0dfbfcd2d8360151d8ac427",
      "tree": "58049745c0426d9b615a3891419963f2589edd7b",
      "parents": [
        "56df9ff31d583ad3eae4f279a3df550273c58e1e"
      ],
      "author": {
        "name": "Jean-Michel Trivi",
        "email": "jmtrivi@google.com",
        "time": "Tue Feb 04 11:00:59 2014 -0800"
      },
      "committer": {
        "name": "Jean-Michel Trivi",
        "email": "jmtrivi@google.com",
        "time": "Mon Mar 03 10:44:27 2014 -0800"
      },
      "message": "AudioTrack non-blocking write\n\nBug 7531968\n\nChange-Id: I6d0e79fa8cab5b6eb36bcc34977f4cf0d7eec8ea\n"
    },
    {
      "commit": "33ca5cf8826f5fcd9c011e8d336138b62d982f2a",
      "tree": "19546ee5a21f0706d2d190f840b056f8fd278ef2",
      "parents": [
        "9cf4f07c2dc5d4f14bfd1adee691667eb55882ec",
        "c6ba823a397abf865b02f4f48fe18231f94d8e87"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Feb 28 19:49:48 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Feb 28 19:49:48 2014 +0000"
      },
      "message": "Merge \"Make openRecord_l more like createTrack_l for fast tracks: part 1\""
    },
    {
      "commit": "bce50bfc3846ab008bafa75c5d3f29fd7b5395f7",
      "tree": "ebefb9f660bf71aec96bd297e155d12c9d3588e8",
      "parents": [
        "838b3d8bafa4a781e277870dee4e0390165cff52"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Feb 27 15:29:51 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Feb 28 07:56:38 2014 -0800"
      },
      "message": "Fix type of AudioTrack/AudioRecord parameter frameCount\n\nIt\u0027s size_t consistently\n\nChange-Id: I29638ef59ac773218025f2403a3508a307b487e0\n"
    },
    {
      "commit": "838b3d8bafa4a781e277870dee4e0390165cff52",
      "tree": "b70ff81e8ef1c9fcdc21aad7fd07dfe793ad6872",
      "parents": [
        "484b4cd809aa46a54791d5c82a78d0f8aac895cf"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Feb 27 15:30:41 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Feb 28 07:56:34 2014 -0800"
      },
      "message": "Fix type of AudioTrack/AudioRecord parameter notificationFrames\n\nIt\u0027s uint32_t consistently\n\nChange-Id: If8298c7e9aeea2b951fe47b675adbdf48d104846\n"
    },
    {
      "commit": "c6ba823a397abf865b02f4f48fe18231f94d8e87",
      "tree": "dcb8d8bb9f8c03bcf921184c9833862003e70f54",
      "parents": [
        "8897759002677a7072a51a7f0b7cc63761c5f2d4"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Feb 27 13:34:29 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Feb 27 13:34:29 2014 -0800"
      },
      "message": "Make openRecord_l more like createTrack_l for fast tracks: part 1\n\nUse the transfer mode to distinguish use cases, as the presence of\na callback handler is not sufficient.  For example, the track could be\nconfigured for synchronous transfer with write() or read(), and also\nhave a callback handler for position updates.  But that does not mean\nthe track can operate in fast track mode.\n\nChange-Id: I2a7f1f0ca98e68efe180b524496985109d8ce291\n"
    },
    {
      "commit": "c08d20b6a37122ebf116262c9372509ed060d4c1",
      "tree": "ea9f9586612094d800e2a3498f0b9b4573f609ad",
      "parents": [
        "045e739161f5ae00321a6cfba20935abb791005b"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Feb 24 15:21:10 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Feb 25 15:20:49 2014 -0800"
      },
      "message": "Simplify error handling after track creation\n\nIAudioFlinger::createTrack and IAudioFlinger::openRecord\nboth guarantee that (status \u003d\u003d OK) \u003d\u003d (sp\u003c\u003e !\u003d 0).\n\nChange-Id: I91cb4f7e843019efb65cace7ba146f7da7aa5b59\n"
    },
    {
      "commit": "5f631515d098c29603cda88f7a7e7580a2d55b57",
      "tree": "74b2b5ec4b6aeddeffcb6c04c833a3d4030660dd",
      "parents": [
        "e3247bf8dd4f8fa8dfa3a108260241ae4a967569"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Feb 24 15:16:07 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Feb 24 17:21:41 2014 -0800"
      },
      "message": "Unify comments and whitespace between AudioTrack and AudioRecord\n\nChange-Id: I5320a6b2d7f7077cb12d7da4f2ca30a940100bf2\n"
    },
    {
      "commit": "e3247bf8dd4f8fa8dfa3a108260241ae4a967569",
      "tree": "9b1ffe395ab3c15a4baa71bcb91022a2a2f21bb0",
      "parents": [
        "11cb175005db0090345f44bfa049b52fd8c809b8"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Feb 24 15:19:07 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Feb 24 17:21:37 2014 -0800"
      },
      "message": "Update channel fields at same place in AudioTrack and AudioRecord\n\nChange-Id: I4b649feeef47e7968a9fa3a460217017ca9b05fe\n"
    },
    {
      "commit": "86f04663032ddaa25110149d709bbf896ad83b02",
      "tree": "014693a35b36f4cee533a39bfb20025e99af9887",
      "parents": [
        "dc6ac201032d0f6ad0c8149ae2f009ec38693025"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Feb 24 15:13:05 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Feb 24 17:21:29 2014 -0800"
      },
      "message": "Add log at entry to set() in AudioTrack and AudioRecord\n\nChange-Id: Ife23b88474c1d62c0cf682c1a310d951f2c0f54a\n"
    },
    {
      "commit": "d457c970c8d08519cd77280a90b61ae1e342cfe3",
      "tree": "f0f409db4d834b4d70b2244dd97dfa707496df50",
      "parents": [
        "1d6fa7af1288b550faabe4ec2cf98684236723db"
      ],
      "author": {
        "name": "Marco Nelissen",
        "email": "marcone@google.com",
        "time": "Tue Feb 11 08:47:07 2014 -0800"
      },
      "committer": {
        "name": "Marco Nelissen",
        "email": "marcone@google.com",
        "time": "Tue Feb 11 12:39:43 2014 -0800"
      },
      "message": "Track pid for each session\n\nso they can be properly freed.\n\nChange-Id: I6f389035bc29e74e7c367c1c6d0252b180f666b3\n"
    },
    {
      "commit": "1d6fa7af1288b550faabe4ec2cf98684236723db",
      "tree": "a8801ca9a0925ba1faccf17acea4aa78d71a9d29",
      "parents": [
        "b82a9f105f89d6b3684c9f626918042bd8977912",
        "566be7c33fc56ae4c34168ecbee5316374f7e3c5"
      ],
      "author": {
        "name": "Narayan Kamath",
        "email": "narayan@google.com",
        "time": "Tue Feb 11 13:47:53 2014 +0000"
      },
      "committer": {
        "name": "Narayan Kamath",
        "email": "narayan@google.com",
        "time": "Tue Feb 11 13:53:20 2014 +0000"
      },
      "message": "resolved conflicts for merge of 566be7c3 to master\n\nChange-Id: I7b1cc71057b2bd4f771e7bcf508a8c3abd6017ce\n"
    },
    {
      "commit": "377b2ec9a2885f9b6405b07ba900a9e3f4349c38",
      "tree": "b938e1d75a1beefae86244f287ca22f4a277740d",
      "parents": [
        "cdda7bf4d3ca9cad6979374a18dd5be79ea83d80"
      ],
      "author": {
        "name": "Kévin PETIT",
        "email": "kevin.petit@arm.com",
        "time": "Mon Feb 03 12:35:36 2014 +0000"
      },
      "committer": {
        "name": "Narayan Kamath",
        "email": "narayan@google.com",
        "time": "Tue Feb 11 11:40:06 2014 +0000"
      },
      "message": "Make frameworks/av 64-bit compatible\n\nContains the necessary changes to make frameworks/av build and work\non a 64-bit machine.\n\nSigned-off-by: Craig Barber \u003ccraig.barber@arm.com\u003e\nSigned-off-by: Kévin PETIT \u003ckevin.petit@arm.com\u003e\nSigned-off-by: Ashok Bhat \u003cashok.bhat@arm.com\u003e\nSigned-off-by: Marcus Oakland \u003cmarcus.oakland@arm.com\u003e\n\nChange-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43\n"
    },
    {
      "commit": "43bdc1de363a3c72c7dcf9c9a898bac109dc7cb5",
      "tree": "ef6644e90c7939011748527d08c423dfefa25889",
      "parents": [
        "4b76d27d6c4751b31a1cb8ac5e6da1d4b7724a7b"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Feb 10 09:53:55 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Feb 10 10:17:48 2014 -0800"
      },
      "message": "Fix build after merge from AOSP\n\nChange-Id: I1cd3432c02db1600e49ade67e6a89e39e7a8d3ed\n"
    },
    {
      "commit": "3523e8c40bc60af0c95d1aa71a51a13d69ec80a2",
      "tree": "92a10a14b54f22f8b4af00dd493d6514b585473f",
      "parents": [
        "2ca060c742a47034cea0ad2fb4aa10f0d6b59a09",
        "4e12dadeec10993d2f77cce96600e73ca0dd86e2"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@android.com",
        "time": "Mon Feb 10 18:17:02 2014 +0000"
      },
      "committer": {
        "name": "Android Git Automerger",
        "email": "android-git-automerger@android.com",
        "time": "Mon Feb 10 18:17:02 2014 +0000"
      },
      "message": "am 4e12dade: am 4361749d: Merge \"AudioTrack: Never try to use the fast path if resampling is required\"\n\n* commit \u00274e12dadeec10993d2f77cce96600e73ca0dd86e2\u0027:\n  AudioTrack: Never try to use the fast path if resampling is required\n"
    },
    {
      "commit": "cac3daa6332bf6d1f7d26adc4a9915f3d7992dd9",
      "tree": "806b4634036e26630acbed0f0dac907bec5ca7b5",
      "parents": [
        "010c4c8ec50eb04ece15f792c508a3b869749310"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Feb 07 09:47:14 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Feb 07 09:52:20 2014 -0800"
      },
      "message": "Use printf format %#x for audio_format_t in logs\n\nChange-Id: I1c611d1037685d52ccc84efe0fccd6413ec938e9\n"
    },
    {
      "commit": "398f21348e5100289f6e5be30c8b5257fa04aaf9",
      "tree": "26fb40e2808e33bcad41a36d263bc26b02f5c62c",
      "parents": [
        "c4eef29af4e306319d8741e0c3ade1ede9a0a2b5"
      ],
      "author": {
        "name": "Martin Storsjo",
        "email": "martin@martin.st",
        "time": "Fri Jan 31 13:30:15 2014 +0200"
      },
      "committer": {
        "name": "Martin Storsjo",
        "email": "martin@martin.st",
        "time": "Fri Jan 31 13:30:15 2014 +0200"
      },
      "message": "AudioTrack: Never try to use the fast path if resampling is required\n\nUnless AudioFlinger was built with FAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE\nenabled, AudioFlinger would deny using the fast path (and internally\nfall back to the normal codepath) when it realized that resampling\nwas required. Since the buffer size calculations within AudioFlinger\ndon\u0027t take resampling into account properly (see the calculation\nbelow \"AUDIO_OUTPUT_FLAG_FAST denied\" in audioflinger/Threads.cpp,\njust below the hunk that this patch changes), make sure AudioTrack\ndoesn\u0027t try to use the fast path if resampling is required.\n\nThis removes the possibility to enable\nFAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE in AudioFlinger since it\nAudioTrack now won\u0027t even try to use the fast path for content\nthat requires resampling, regardless of the AudioFlinger configuration.\n\nChange-Id: Icf0f8ad50bf0fdb84657f518c0120aa0535f23f9\n"
    },
    {
      "commit": "df576995a5aad3428aeeef765387d650945c161d",
      "tree": "51ee9bf8e0ac8b559547d4b12cd531ac037ae0e7",
      "parents": [
        "b2b9b2dbdbc0445080d3c2d15212a43ba1f9cff1"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Mon Jan 27 18:13:39 2014 -0800"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Mon Jan 27 18:13:39 2014 -0800"
      },
      "message": "AudioTrack: fix obtainBuffer timeout calculation\n\nAudioTrack::obtainBuffer() passes a pointer to a timeout\nvariable that has gone out of scope when calling\nClientProxy::obtainBuffer().\n\nSame fix for AudioRecord.\n\nBug: 11968591.\nChange-Id: I22af8f94fa2f8cc54ab5c25c89167c805e754317\n"
    },
    {
      "commit": "363fb75db26698cbb50065506e0c80b61d1fbf92",
      "tree": "9c2e92f3780c2885233fe117018cdbbde3997dc9",
      "parents": [
        "38e905b3cbba4da443d799b16999989781afc6d8"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Jan 15 12:27:31 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jan 24 13:22:57 2014 -0800"
      },
      "message": "Remove the redundant parameters from createTrack_l()\n\nAudioRecord::openRecord_l() code was refactored earlier to\nremove the redundant parameters:\n    \u003e Change-Id: I124dce344b1d11c2dd66ca5e2c9aec0c52c230e2\n\nThis changelist refactors AudioTrack similarly.\n\nChange-Id: Iefd2bd662870ea81d04eff7b7c26f9c8b0dadd26\n"
    },
    {
      "commit": "38e905b3cbba4da443d799b16999989781afc6d8",
      "tree": "47b872b97f1af95c3e0ceefb1f8d56c9ae7a67fc",
      "parents": [
        "f0002d142e6d24c5438600b2c259679de710f8ac"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Jan 13 10:21:48 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jan 24 13:19:59 2014 -0800"
      },
      "message": "Refactor code related to I/O handles to reduce chance for leaks\n\nThe AudioRecord input handle code was refactored earlier\nto fix a potential handle leak, and to simplify the code:\n    \u003e Change-Id: I124dce344b1d11c2dd66ca5e2c9aec0c52c230e2\n\nThis changelist refactors AudioTrack similarly,\nand adds further cleanup of both AudioTrack and AudioRecord.\n\nWe attempt to implement the rules for referencing counting I/O handles,\nbut there is still the possibility of a handle leak if the client process\ndies after allocating the handle reference but before releasing it.\nThat issue is being tracked separately.\n\nDetails:\n - AudioSystem::getOutput() is now called within createTrack_l\n - restoreTrack_l was missing offload info\n   now it has the info available,\n   but is not yet being called for offloaded tracks\n - AudioTrack::getOutput() is now const\n - Remove getOutput_l()\n\nChange-Id: I44a0a623d24fc5847bcac0939c276400568adbca\n"
    },
    {
      "commit": "f0002d142e6d24c5438600b2c259679de710f8ac",
      "tree": "20e5013fa14f2d5339868c1b08396f7b852a2123",
      "parents": [
        "c69b91ceae6255e41c5413796fb0ed4f7af45b15",
        "74935e44734c1ec235c2b6677db3e0dbefa5ddb8"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jan 24 16:13:50 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Jan 24 16:13:51 2014 +0000"
      },
      "message": "Merge \"Replace control block frameCount_ by explicit in/out parameter\""
    },
    {
      "commit": "1071915ad4ffb47825a946706f8fa73c0d22d7f8",
      "tree": "a67c0a6d91515f0fffb90e102d4897626c5f5d79",
      "parents": [
        "9c1aaa7fee4b17d3675af6108c5ff28f3a84c8ec",
        "b5ccb2d99b2af400c70777a6452f090ac14f5a96"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jan 17 20:15:07 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Jan 17 20:15:08 2014 +0000"
      },
      "message": "Merge \"Make copy of audio_offload_info_t for future use\""
    },
    {
      "commit": "543140eb709a07bc386eb5f667a4a72e31dba56c",
      "tree": "b48f2d74e75f6de5a8db09ac47eaf9caefc089ff",
      "parents": [
        "0ce5ca5e113d58cbcb7cb48615d6dbbf3fbe7c66",
        "dd5f4c8c4059f890e81b28b026a688febb4e1dd9"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jan 17 20:00:48 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Jan 17 20:00:48 2014 +0000"
      },
      "message": "Merge \"Move up initialization of mFormat, mStreamType, and mSharedBuffer earlier\""
    },
    {
      "commit": "0ce5ca5e113d58cbcb7cb48615d6dbbf3fbe7c66",
      "tree": "b5f59ae15e5f5ea59a171f7677e2a8403361f80a",
      "parents": [
        "d0b33f63a9364364a827e77da26b112edf3c4d6e",
        "0cde076ddb283c84c3801a2df4cc3df99bd1577f"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jan 17 19:15:57 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Jan 17 19:15:57 2014 +0000"
      },
      "message": "Merge \"Cleanup createTrack error handling\""
    },
    {
      "commit": "d0b33f63a9364364a827e77da26b112edf3c4d6e",
      "tree": "2fc99dd12b5b0a261f880c926a3e903177cb7550",
      "parents": [
        "269a7e210949c4b28ba84dc71b9f99f6ef14f94e",
        "7103d9671ded507fd3f6938297019a32f71ea5a0"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jan 17 18:54:08 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Jan 17 18:54:09 2014 +0000"
      },
      "message": "Merge \"Remove dead code in AudioTrack::processAudioBuffer\""
    },
    {
      "commit": "a1ebc3b03d4dca534374c19e3c4f32ee687942e3",
      "tree": "2efa82e62c51647410cb473392e811da6c4c4e0d",
      "parents": [
        "6d88aaf9cd810d96a4888dff8bd33d44cd01ccaa",
        "70c0bfbe5ec88dcc3efa2bd8df26f36cff1cf03a"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jan 17 17:52:53 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Jan 17 17:52:53 2014 +0000"
      },
      "message": "Merge \"Improve logs in AudioTrack::getMinFrameCount\""
    },
    {
      "commit": "32a7e0a5f7b000951b9adb80b17796f35b024816",
      "tree": "75d9dd61e3e3abe0c459650a97c57bac3780f8ca",
      "parents": [
        "a238b9b43a2b8dac60e0fd8700daa6cd4f644547",
        "2b2165c75790050810460c8de3f414876bce4c0e"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jan 17 15:36:52 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Jan 17 15:36:53 2014 +0000"
      },
      "message": "Merge \"Unify comments between AudioTrack and AudioRecord\""
    },
    {
      "commit": "b5ccb2d99b2af400c70777a6452f090ac14f5a96",
      "tree": "2285b78fd6e07eaf38b6e48e149fca91c2acc481",
      "parents": [
        "dd5f4c8c4059f890e81b28b026a688febb4e1dd9"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Jan 13 14:42:43 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Jan 16 17:03:16 2014 -0800"
      },
      "message": "Make copy of audio_offload_info_t for future use\n\nChange-Id: I515970aa0660418d5d1640fb1bf477e112c89bdd\n"
    },
    {
      "commit": "dd5f4c8c4059f890e81b28b026a688febb4e1dd9",
      "tree": "f109b6d755352250744e91b22ca1eb567aeacd25",
      "parents": [
        "0cde076ddb283c84c3801a2df4cc3df99bd1577f"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Jan 13 10:26:32 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Jan 16 17:03:08 2014 -0800"
      },
      "message": "Move up initialization of mFormat, mStreamType, and mSharedBuffer earlier\n\nThis will allow removal of most of the parameter list to createTrack_l.\n\nAlso check for valid stream type at client so we can log a better error\nmessage.\n\nChange-Id: Ia7176896d47fbb49106119fca26d9de8e7efe859\n"
    },
    {
      "commit": "0cde076ddb283c84c3801a2df4cc3df99bd1577f",
      "tree": "9f1d49f9fc52a5cedea8e0bd14555a70ab5772b0",
      "parents": [
        "a238b9b43a2b8dac60e0fd8700daa6cd4f644547"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Jan 16 15:06:36 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Jan 16 17:01:04 2014 -0800"
      },
      "message": "Cleanup createTrack error handling\n\nSimilar to cleanup done earlier for openRecord in this CL:\n    \u003e Change-Id: I84897dd7d30b370640b54e928f230604b873cb68\n\nBug: 10888816\nChange-Id: I804a47f898e0319a60a9bd58906bbb037e45cc25\n"
    },
    {
      "commit": "70c0bfbe5ec88dcc3efa2bd8df26f36cff1cf03a",
      "tree": "f9a044e3ca073fb760e1d8f470f219bc2a307065",
      "parents": [
        "a238b9b43a2b8dac60e0fd8700daa6cd4f644547"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Jan 14 15:47:01 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Jan 16 11:46:40 2014 -0800"
      },
      "message": "Improve logs in AudioTrack::getMinFrameCount\n\nChange-Id: I8b478e6abdded26a43f32c131931939e9ae36fd7\n"
    },
    {
      "commit": "7103d9671ded507fd3f6938297019a32f71ea5a0",
      "tree": "5b5bb74201f1d035113988d177d14b27ca455981",
      "parents": [
        "a238b9b43a2b8dac60e0fd8700daa6cd4f644547"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Jan 14 15:47:52 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Jan 16 11:45:10 2014 -0800"
      },
      "message": "Remove dead code in AudioTrack::processAudioBuffer\n\nChange-Id: I0baefe9dc08bb5ec45d34698fc764caa160789d2\n"
    },
    {
      "commit": "ac1954cb9a480a409e8cee4193fc534a6a29fbb6",
      "tree": "fd15f328d3a8df1f62d1cd85f3d5b73b4ea38623",
      "parents": [
        "dbed8955148dd2fe39584007c528e3a532f1a04e",
        "396fabdb6efcdac5aea3d9f559d1beedf6a4cedc"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Jan 15 18:51:03 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Wed Jan 15 18:51:03 2014 +0000"
      },
      "message": "Merge \"Document AudioTrack mFrameCount and mReqFrameCount better\""
    },
    {
      "commit": "2b2165c75790050810460c8de3f414876bce4c0e",
      "tree": "d0051f908567bbd815ae5a163443f1f5809493ba",
      "parents": [
        "23a7545c4de71e989c2d8ebf1d5b9dcf463c36a9"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Jan 13 08:53:36 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Jan 14 16:01:20 2014 -0800"
      },
      "message": "Unify comments between AudioTrack and AudioRecord\n\nChange-Id: I00a1025e2891a1c96218b3c2187eaddda6614ebc\n"
    },
    {
      "commit": "23a7545c4de71e989c2d8ebf1d5b9dcf463c36a9",
      "tree": "13f9b25c2dcc70506e3c743c817fce0998021be9",
      "parents": [
        "84fba38b60c2ddb02b9a787f56be88fc084b4a16"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Jan 13 10:37:17 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Jan 14 14:20:18 2014 -0800"
      },
      "message": "Document locking rules for mFlags, and fix discrepancies\n\nChange-Id: Id45ba544cc84133ed5e578fb4fd8a11b62211dc1\n"
    },
    {
      "commit": "84fba38b60c2ddb02b9a787f56be88fc084b4a16",
      "tree": "93537d89d01de689dd05d21d52181a6faf06950a",
      "parents": [
        "7e47f25f9031e231f5fdbbb789435485d1af45af",
        "2c6c5294388e251ebc1e00d6c8785190561c27fc"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Jan 14 20:36:18 2014 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Tue Jan 14 20:36:18 2014 +0000"
      },
      "message": "Merge \"Fix race in AudioTrack::getParameters()\""
    },
    {
      "commit": "b1bef51fec06e8bceec914d1b48b411d3ff2adff",
      "tree": "983ad9a9d60191bb82b3537280229312bd6c0554",
      "parents": [
        "aaa42e57797db140ead1068dce6340ffd33fa005"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Jan 13 10:25:53 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Jan 13 12:05:17 2014 -0800"
      },
      "message": "Improve error logging for getOutputSamplingRate\n\nChange-Id: I3b52402a663b27efe1d7c6a4f684521f33f3ff8f\n"
    },
    {
      "commit": "2c6c5294388e251ebc1e00d6c8785190561c27fc",
      "tree": "9f61bedb0d81ee785c2ea86e198d4c18d6bc84b7",
      "parents": [
        "aaa42e57797db140ead1068dce6340ffd33fa005"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Jan 13 10:29:08 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Jan 13 11:48:33 2014 -0800"
      },
      "message": "Fix race in AudioTrack::getParameters()\n\nmOutput is protected by mLock.\n\nChange-Id: Id02e627062855ca60f28bd8961b1d5f44939c727\n"
    },
    {
      "commit": "396fabdb6efcdac5aea3d9f559d1beedf6a4cedc",
      "tree": "28a5b52e5cb0632088d48cafff65cd271518b183",
      "parents": [
        "6340829ffb9ff7586ffb88a214f56340d4c70d60"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Jan 08 08:54:23 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jan 10 10:53:22 2014 -0800"
      },
      "message": "Document AudioTrack mFrameCount and mReqFrameCount better\n\nand remove unnecessary initialization of mFrameCount in set().\n\nChange-Id: I9effeb0a6dd035ca02fe77f6992c55d9515b4df6\n"
    },
    {
      "commit": "66a0467fdddada4caabd0f0a999fbb367fea7bee",
      "tree": "eec798c0690b0be60c3e9dd4bb2d691901855e9f",
      "parents": [
        "4d973f3894a50413f21e7db284e96afc87f57698"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Jan 08 08:53:44 2014 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Jan 08 11:56:05 2014 -0800"
      },
      "message": "Cleanup AudioTrack::getMinFrameCount error handling\n\nGuarantee to return a non-zero frameCount for return status NO_ERROR;\n\nReturn the correct specific status_t if any of the AudioSystem APIs fail,\ninstead of the generic NO_INIT.\n\nAPI change: getMinFramCount no longer defaults to zero on error, so\ncallers _must_ check the return status.  This change makes\ngetMinFrameCount more like other APIs.  All known callers were reviewed,\nand they do check the return status.\n\nChange-Id: I4a8342a75ee89a068c23c84b8380ed9d1b968507\n"
    },
    {
      "commit": "74935e44734c1ec235c2b6677db3e0dbefa5ddb8",
      "tree": "dc7bc2c9f496097e95ff36440fcd79886517ba53",
      "parents": [
        "bd72d22097f78f5bd668b223bc8c94e351311e31"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Dec 19 08:56:45 2013 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Dec 20 08:40:55 2013 -0800"
      },
      "message": "Replace control block frameCount_ by explicit in/out parameter\n\nin IAudioFlinger::createTrack and IAudioFlinger::openRecord\n\nChange-Id: I09c644c80e92c8e744b1b99055988a2588b2a83d\n"
    },
    {
      "commit": "7c7be1e05634d96d08210efb4bdeb012ffba440d",
      "tree": "662376e86a6d2890e18066065fd8cb031bcb6be4",
      "parents": [
        "bd72d22097f78f5bd668b223bc8c94e351311e31"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Dec 19 16:34:04 2013 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Dec 19 17:17:58 2013 -0800"
      },
      "message": "Fix some (but not all) unused parameter warnings\n\nChange-Id: Ia99e23a0b46db3f3e6aa46f9018e63c14f4af369\n"
    },
    {
      "commit": "dfeed91152cb54772b1411d7e82833ca4a48efcc",
      "tree": "f810edada58774d551fe674bc3b7f9507365fad7",
      "parents": [
        "9060d498be0c54d3caf84e2dbf1ba62516b3e76e"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Wed Nov 27 14:29:13 2013 -0800"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Tue Dec 17 22:05:05 2013 +0000"
      },
      "message": "AudioTrack: fix position callback after restore\n\nWhen restoring an AudioTrack, the next position callback point\nshould not be modified and set ahead of current buffer head.\nOtherwise, as frames are dropped, the new position is never reached\nand an application relying on position callbacks to reload the buffer\nwould be stalled.\n\nBug: 11868603.\nChange-Id: I93b2a311642a0c89944b78bcc0482d4ceed98ae4\n"
    },
    {
      "commit": "5e49afd05566820517747b9a8071c99ec0918328",
      "tree": "0dd9697822c0bd70f03bb776bc78e2da60f28991",
      "parents": [
        "a67c76538fff102cd44b2f38dd073df5f2a33605"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Fri Jul 26 17:16:50 2013 -0700"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Tue Dec 17 13:41:37 2013 -0800"
      },
      "message": "update offloaded audio track sampling rate\n\nAudioPlayer must read the sampling rate from offloaded audio sinks\nwhenever a new time position is computed as the decoder can update\nthe sampling rate on the fly.\n\nChange-Id: I997e5248cfd4017aeceb4e11689324ded2a5bc88\n"
    },
    {
      "commit": "688ca6330a5e7d072f67a1791e464fa7dec08b72",
      "tree": "876abb6ec32d531ae0f2dd62b5d4d04ed725f9f9",
      "parents": [
        "e175e5ec1636fc638465187f3d5c6166d92388ed",
        "5c474238bc579224ec8f7267d05651b0aa934100"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Dec 17 16:35:48 2013 +0000"
      },
      "committer": {
        "name": "Android Git Automerger",
        "email": "android-git-automerger@android.com",
        "time": "Tue Dec 17 16:35:48 2013 +0000"
      },
      "message": "am 5c474238: am 5893736d: am a67c7653: Merge \"Increase kFastTrackMultiplier from 1 to 2\"\n\n* commit \u00275c474238bc579224ec8f7267d05651b0aa934100\u0027:\n  Increase kFastTrackMultiplier from 1 to 2\n"
    },
    {
      "commit": "a67c76538fff102cd44b2f38dd073df5f2a33605",
      "tree": "da803da6b3053b23ad6c5ebbd33fd7667e2697b3",
      "parents": [
        "a0e1c3918dd1356445df98e89dab6be2c8a78da3",
        "b5fed68bcdd6f44424c9e4d12bfe9a3ff51bd62e"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Dec 17 16:26:41 2013 +0000"
      },
      "committer": {
        "name": "Gerrit Code Review",
        "email": "noreply-gerritcodereview@google.com",
        "time": "Tue Dec 17 16:26:41 2013 +0000"
      },
      "message": "Merge \"Increase kFastTrackMultiplier from 1 to 2\""
    },
    {
      "commit": "b5fed68bcdd6f44424c9e4d12bfe9a3ff51bd62e",
      "tree": "12cac79b78992586c8f8da4f618a020f40d92441",
      "parents": [
        "92630351d265a61faae2dfe006a8bb330283aa7b"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Dec 03 09:06:43 2013 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@android.com",
        "time": "Wed Dec 04 17:12:42 2013 -0800"
      },
      "message": "Increase kFastTrackMultiplier from 1 to 2\n\nChange-Id: I158f147295eebcea96e4047d7618069bc48bdd7d\n"
    },
    {
      "commit": "b31788687736666e58b852e744a93f772d3f7148",
      "tree": "30abfcaff66b51602640c8b2e3400dc4b65093ee",
      "parents": [
        "2df921d05de1ae45173b0df64353049eafede019"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Wed Nov 27 14:29:13 2013 -0800"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Wed Nov 27 14:50:44 2013 -0800"
      },
      "message": "AudioTrack: fix position callback after restore\n\nWhen restoring an AudioTrack, the next position callback point\nshould not be modified and set ahead of current buffer head.\nOtherwise, as frames are dropped, the new position is never reached\nand an application relying on position callbacks to reload the buffer\nwould be stalled.\n\nBug: 11868603.\nChange-Id: I93b2a311642a0c89944b78bcc0482d4ceed98ae4\n"
    },
    {
      "commit": "6f59db12a64f4496866952a251122ccb77a36c6b",
      "tree": "29fcb69aa1f491974ec2b2ea5a01155b53940be5",
      "parents": [
        "23700debf767ef7fdfc30d96612771c3a03ad40d"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Fri Jul 26 17:16:50 2013 -0700"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Fri Nov 22 09:09:51 2013 -0800"
      },
      "message": "update offloaded audio track sampling rate\n\nAudioPlayer must read the sampling rate from offloaded audio sinks\nwhenever a new time position is computed as the decoder can update\nthe sampling rate on the fly.\n\nChange-Id: I997e5248cfd4017aeceb4e11689324ded2a5bc88\n"
    },
    {
      "commit": "8ba90326d683b035d99e24db669093e4602a7149",
      "tree": "f7ee24ee1580a7e90cd9b38fdbf28c4dd6898811",
      "parents": [
        "d21952fe5bc94f7bb6ee729f806c0e641fdb1a0d"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Oct 30 11:29:27 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Nov 08 11:26:57 2013 -0800"
      },
      "message": "Remove default channel mask for AudioTrack\n\nIt doesn\u0027t make sense to have a default channel mask, since the caller\nneeds to know what format it will use when supplying data, and there\nis currently no API to return the channel mask of an AudioTrack.\naudio_is_output_channel() does not allow 0, so it will catch any\nstragglers (I\u0027m not aware of any).\n\nAlso move channel mask validation earlier.\n\nChange-Id: Ia018ded8711455581a2a935f37432b049422d492\n"
    },
    {
      "commit": "9cae217050aa1347d4ac5053c305754879e3f97f",
      "tree": "dff82f277cba8f34af39eaeeb00adec01bbda26c",
      "parents": [
        "be567be3f92026f5964c1c9ecce00e30bb7df412"
      ],
      "author": {
        "name": "Marco Nelissen",
        "email": "marcone@google.com",
        "time": "Mon Jan 14 14:12:05 2013 -0800"
      },
      "committer": {
        "name": "Marco Nelissen",
        "email": "marcone@google.com",
        "time": "Fri Oct 25 14:06:03 2013 -0700"
      },
      "message": "Assign blame for playback wakelocks.\n\nSet a work source for the playback wakelock, so that playback is\ncounted against the requesting app instead of the media server.\n\nCherrypicked from master.\n\nb/9464621\n\nChange-Id: I7329f88a288a95a582a78005a1c3d16a5a611e31\n"
    },
    {
      "commit": "462fd2fa9eef642b0574aa7409de0bde3fec8d43",
      "tree": "65446a138d197f062bf199480b96cca4df560fcf",
      "parents": [
        "f7d89bd79d170be3b299717ac11aff62909314c5"
      ],
      "author": {
        "name": "Marco Nelissen",
        "email": "marcone@google.com",
        "time": "Mon Jan 14 14:12:05 2013 -0800"
      },
      "committer": {
        "name": "Marco Nelissen",
        "email": "marcone@google.com",
        "time": "Fri Oct 25 11:13:17 2013 -0700"
      },
      "message": "Assign blame for playback wakelocks.\n\nSet a work source for the playback wakelock, so that playback is\ncounted against the requesting app instead of the media server.\n\nChange-Id: I7329f88a288a95a582a78005a1c3d16a5a611e31\n"
    },
    {
      "commit": "abe0948c7b9aa32dceb82cebbfca52beb782754b",
      "tree": "a9018d0695d2a0221b8ce5e2dca84eb6bdec92e1",
      "parents": [
        "85b56a702f155cda9b945bcbadaa89e0f9ecc4a8",
        "b2059ff384eee8ffb70a7ec8fc5570405201c734"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Oct 16 18:12:55 2013 -0700"
      },
      "committer": {
        "name": "Android Git Automerger",
        "email": "android-git-automerger@android.com",
        "time": "Wed Oct 16 18:12:55 2013 -0700"
      },
      "message": "am b2059ff3: am f8f15b05: Merge \"Fix race condition in AudioTrack::pause followed by start\" into klp-dev\n\n* commit \u0027b2059ff384eee8ffb70a7ec8fc5570405201c734\u0027:\n  Fix race condition in AudioTrack::pause followed by start\n"
    },
    {
      "commit": "f8f15b05fe051009945c9042a1a9260280e0feb2",
      "tree": "28fd5dede6b2aae34a9b3b987049f3331ace5037",
      "parents": [
        "787c0d04ac4f9c938a1311f8e30d9d7ac2b8a6da",
        "598de6c701e989385eeffa7c5dfd61f0459a2631"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Oct 17 00:59:33 2013 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Thu Oct 17 00:59:33 2013 +0000"
      },
      "message": "Merge \"Fix race condition in AudioTrack::pause followed by start\" into klp-dev"
    },
    {
      "commit": "598de6c701e989385eeffa7c5dfd61f0459a2631",
      "tree": "090b30e255f0aed57a73ca6c9252e19da162fd97",
      "parents": [
        "014e7fa2e90827d911c37bb0ce4d2e10e14d0bb3"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Oct 16 17:02:13 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Oct 16 17:20:11 2013 -0700"
      },
      "message": "Fix race condition in AudioTrack::pause followed by start\n\nBug: 11148722\nChange-Id: Iec88f00c8510363d4418e4b8d5b34feb06ecf04d\n"
    },
    {
      "commit": "771f1b6d196b7924707fc44177ac3a88fc31fa9e",
      "tree": "ffd599ada0a44511112fe0586c8f56121ce9ce6e",
      "parents": [
        "a529ee78d7cc5d94cbe79cea2d7e6469c88a0fba",
        "7f8c397378a7ee5abd395413be71388ad36d3ed2"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Wed Oct 16 15:38:30 2013 -0700"
      },
      "committer": {
        "name": "Android Git Automerger",
        "email": "android-git-automerger@android.com",
        "time": "Wed Oct 16 15:38:30 2013 -0700"
      },
      "message": "am 7f8c3973: am 120a8847: Merge \"AudioTrack: fix head position after restore\" into klp-dev\n\n* commit \u00277f8c397378a7ee5abd395413be71388ad36d3ed2\u0027:\n  AudioTrack: fix head position after restore\n"
    },
    {
      "commit": "cc21e4f1e41dfa17e7e2bef995fcd22c45f6bcd0",
      "tree": "a446f08a1adaf31ef5dddc491c620209176b67aa",
      "parents": [
        "014e7fa2e90827d911c37bb0ce4d2e10e14d0bb3"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Wed Oct 16 15:12:32 2013 -0700"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Wed Oct 16 15:12:32 2013 -0700"
      },
      "message": "AudioTrack: fix head position after restore\n\nThe head position transfered to the new track\nby restoreTrack_l() must take into account the frames that\nare dropped from the old track to avoid a non recoverable\noffset in the playback head position returned to applications.\n\nBug: 11230062.\nChange-Id: I51143a08b95e8f264ed709ae2054360315f2b8b1\n"
    },
    {
      "commit": "7a72e2aca9a6c46a08bc605166f90915aaeb81cb",
      "tree": "bf6b8a4f0be93b45eb5da2b45f98843677880363",
      "parents": [
        "e2b082dde607df6250879df45d61e82e0cf64edf",
        "397edb3377e5775f4df60afb8bf6d4711e5adc0e"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Oct 07 20:47:10 2013 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Mon Oct 07 20:47:10 2013 +0000"
      },
      "message": "Merge \"Fix AudioTrack pause followed by stop\""
    },
    {
      "commit": "59fe010bcc072597852454a2ec53d7b0a2002a3b",
      "tree": "b6b42e04a89ead77c9ecd9635a328686a8bb9863",
      "parents": [
        "5d6d86a4d102704f49b9235eaf282c428d7100b6"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Fri Sep 27 18:48:26 2013 -0700"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Mon Sep 30 12:05:38 2013 -0700"
      },
      "message": "fix volume and effect enable delay on offloaded tracks\n\nVolume: add a method to wake up the mediaserver playback\nthread when a volume command is received on an offloaded track.\n\nEffects: call effect chain process on offloaded playback threads\nasynchronously from writes to allow effect state updates while\nwaiting for async write callback.\n\nBug: 10796540.\n\nChange-Id: Id2747ae88783575d1d7ffd6fc86fbd054ab2c739\n"
    },
    {
      "commit": "96f04886d1c1bfbc422e2be033ea66be83e42441",
      "tree": "d1d12f9860491e96b3f1a733f8656bfab3dfc708",
      "parents": [
        "3c928c3a7a9684501664a59082a2583347e47664"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Sep 20 09:28:56 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Sun Sep 29 14:59:20 2013 -0700"
      },
      "message": "Simplify AudioTrack stream end and fix race\n\nBug: 10994052\nChange-Id: Ib2e38e7a600bcffef8cbc68c1722e40fbbc7ea67\n"
    },
    {
      "commit": "397edb3377e5775f4df60afb8bf6d4711e5adc0e",
      "tree": "34fd2e8e81cd681047c45351fec39b55b05eac10",
      "parents": [
        "3c928c3a7a9684501664a59082a2583347e47664"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Aug 30 15:10:13 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Sun Sep 29 14:43:07 2013 -0700"
      },
      "message": "Fix AudioTrack pause followed by stop\n\nNow the stop is not a nop.\n\nBug: 10993355\nChange-Id: Idfbfd6d14897574578b80648a16e0fc73765cb6c\n"
    },
    {
      "commit": "9d2c78c4798ffd8c276c1bf0eaa0b34bc255a2da",
      "tree": "f81f585ba1aae36086bb9790b83de5673fdce14a",
      "parents": [
        "4b701cc041d635e5ec56e382043a4c5d01aedd80"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Mon Sep 23 12:29:42 2013 -0700"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Mon Sep 23 12:32:34 2013 -0700"
      },
      "message": "AudioTrack: fix music resume\n\nFix regression introduced by commit 5a6cd22 in AudioTrack resume:\nthe callback thread was not signaled if paused internaly.\n\nBug: 10895013.\nChange-Id: Ic356b115132d6fccbcee2d9bb855e92671dc20c5\n"
    },
    {
      "commit": "5a6cd224d07c05b496b6aca050ce5ecf96f125af",
      "tree": "c5d2fe55f0080c9660d283d040616d9a9fb6decc",
      "parents": [
        "a3b97ad288e6808c54c6275eaac1bd53108d8f11"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Sep 20 09:20:45 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Sep 20 12:22:29 2013 -0700"
      },
      "message": "Fix slow AudioTrack and AudioRecord destruction\n\nThere were two causes for the slowness:\n\nWhen thread was paused, it used nanosleep and sleep.  These usually\nrun to completion (except for POSIX signal, which we avoid because it\nis low-level).  Instead, replace the nanosleep and sleep by condition\ntimed wait, as that can be made to return early by a condition signal.\nAnother advantage of condition timed wait is that a condition wait was\nalready being used at top of thread loop, so it is a simpler change.\n\nThe AudioRecord destructor was missing a proxy interrupt that was correct\nin AudioTrack.  This proxy interrupt is needed in case another thread\nis blocked in proxy obtainBuffer.\n\nDoes not address the 1 second polling for NS_WHENEVER.\n\nBug: 10822765\nChange-Id: Id665994551e87e4d7da9c7b015f424fd7a0b5560\n"
    },
    {
      "commit": "ce8828a016b082f730152af2204b8ea3610dc1ec",
      "tree": "aad0c32a17516519b22bcea0d4f2fa7c81c61d28",
      "parents": [
        "d176ec1e371a686c58385692a28da677e398c302"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Sep 16 18:07:38 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Sep 17 11:24:02 2013 -0700"
      },
      "message": "Fix underruns when fast track denied due to SRC\n\nOpenSL ES requests a fast track.  If sample rate conversion is needed,\nthe request is denied by server, and a larger client buffer is used\nto handle the higher latency of a normal track.  However the client\nnotification period was calculated based on buffer being divided into\n2 sub-buffers.  That resulted in the notification period being too long.\nThe server pulls chunks that are smaller than half the total buffer.\nSo now the client uses 3 sub-buffers when there is SRC.\n\nAlso removed the \u0027defer wake\u0027 optimization because it was incorrect.\nThis optimization attempted to reduce the number of wakeups of client,\nwhen server releaseBuffer knows that another releaseBuffer will be\nfollowing.  But there is no way for the first releaseBuffer to predict\nhow soon the second releaseBuffer will occur.  In some cases it was\na long time, and the client underran.  So now the client is woken up\nimmediately if the total number of available frames to client is \u003e\u003d\nthe minimum number the client wants to see (the notification period).\n\nAlso fix bug where minimum frame count was not being used in the\ncalculation of notification period.\n\nBug: 10342804\nChange-Id: I3c246f4e7bc3684a344f2cf08268dc082e338e2a\n"
    },
    {
      "commit": "fe346c707f59d763ded93bc3d27b51f0c0408258",
      "tree": "3e6f12ac7b37bc8ef10845c4c7ccdcfef4b51cd5",
      "parents": [
        "4d0815d694e5a2edb3ce48427de50f55d0f84c0b"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Aug 30 13:28:22 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Sep 03 15:19:03 2013 -0700"
      },
      "message": "Fix miscellanous AudioTrack::getTimestamp() bugs\n\nCheck that get_presentation_position is non-NULL before calling.\n\nAudioTrack::getTimestamp not implemented for fast tracks.\n\nFix typo in Track::getTimestamp().\n\nFix bugs in AudioTrack::getTimestamp after stop:\n - getTimestamp while stopped is not allowed.\n - stop, start, getTimestamp now returns the correct value.\n\nChange-Id: Ie8d9dc1f28d8927634e04175a68b147ffc2ea8eb\n"
    },
    {
      "commit": "56b592240073b1ab116c6e23a9c4c34ef5ad80d8",
      "tree": "99d167994fa92857f39b459da1b52e0695d13a68",
      "parents": [
        "865f6f248bf10189272020ebfdbf4827433caf0f",
        "53cec22821072719ee02c856e9ac2dda2496c570"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Aug 30 00:04:37 2013 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Aug 30 00:04:37 2013 +0000"
      },
      "message": "Merge \"Add IAudioTrack::getTimestamp()\" into klp-dev"
    },
    {
      "commit": "865f6f248bf10189272020ebfdbf4827433caf0f",
      "tree": "02c8e8e58c3b3e549c718bda3bd344f332682ce9",
      "parents": [
        "e3b8b6e3e3a78ec6f9978f56c4573e193866ef53",
        "ce70374bf105f8a6160bf5dd70affea012b2a464"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Aug 29 23:47:34 2013 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Thu Aug 29 23:47:34 2013 +0000"
      },
      "message": "Merge \"New AudioTrack C++ API for audio timestamps\" into klp-dev"
    },
    {
      "commit": "42a6f422c09ca6a960673e0e805ddf71a9b51bef",
      "tree": "7c38dd1f569bd9546f5cef3c5f58ff6ca35cbeff",
      "parents": [
        "bdd467edb8550ab006c89a59b556759386e99898"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Thu Aug 29 14:35:05 2013 -0700"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Thu Aug 29 14:35:05 2013 -0700"
      },
      "message": "AudioTrack: fix write retries for compressed audio\n\nWhen the amount of frames that can be written to the buffer\nis less than requested, AudioTrack::processAudioBuffer() estimates\nthe time needed to free the missing amount of frames and asks the\ncallback thread to sleep.\nThis behavior is not possible for compressed audio and should not\nbe enabled for offloaded tracks.\n\nChange-Id: I5b657283cfba06254c9ac0ea9b447467cce7eb61\n"
    },
    {
      "commit": "53cec22821072719ee02c856e9ac2dda2496c570",
      "tree": "1ac72eaf3ba6059680f8c3d7e39ae58a9e03adc8",
      "parents": [
        "ce70374bf105f8a6160bf5dd70affea012b2a464"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Aug 29 09:01:02 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu Aug 29 09:19:07 2013 -0700"
      },
      "message": "Add IAudioTrack::getTimestamp()\n\nwith dummy implementation in AudioFlinger::TrackHandle, and\nimplement AudioTrack::getTimestamp() using IAudioTrack.\n\nAlso document invariant that mAudioTrack and control block are always\nnon-0 after successful initialization.\n\nChange-Id: I9861d1454cff7decf795d5d5898ac7999a9f3b7e\n"
    },
    {
      "commit": "ce70374bf105f8a6160bf5dd70affea012b2a464",
      "tree": "60d2673b83bff3622e7e299974104e572656b5a6",
      "parents": [
        "e07f53720bcf543bcfe90c228a49c2a85a3fdb4c"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jul 19 16:33:58 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Aug 28 17:24:58 2013 -0700"
      },
      "message": "New AudioTrack C++ API for audio timestamps\n\nThis new API is intended to replace latency(), especially for A/V sync.\nThe application will receive periodic timestamp notifications.  The period\nis unspecified, but will likely be more frequent after a pause or stop,\nset position, underrun, display on/off change, route change, or when audio\nframework notices drift.  It will be up to the higher level application\n(e.g.  Stagefright) to reconstruct a clock that updates more frequently.\n\nThe current latency() method doesn\u0027t indicate when latency changes\ndue to screen on/off state, route changes, etc.\n\nIncludes squahsed change-Id: I2082f8752040be0c234b1a6f1be2e269abf2ce7c\n Dummy implementation of AudioTrack:getTimestamp()\n Rename AudioTrack::Timestamp to AudioTimestamp.\n Renaming and pulling up to a higher level allows more modules to use it.\n\nChange-Id: Ibf7f6a207c3f8d8697f25ede2cd5200697fadb86\n(cherry picked from commit dd69eb893867634fd169c03204a6ad7c74b351e7)\n"
    },
    {
      "commit": "ec9a032c2e104ab1e3b5bf73e69dab1408ced0ad",
      "tree": "de4b71e9f43dc9a3a46aec43bc08f910ad5b8127",
      "parents": [
        "3bd3690fb0a423f9d0ba635e8db1c148ac9e93fc"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Wed Aug 28 10:23:01 2013 -0700"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Wed Aug 28 10:30:08 2013 -0700"
      },
      "message": "AudioTrack: fix unwanted underrun when restarting\n\nWhen restarting an AudioTrack from stopped state, it is necessary\nto force refresh of mRemainingFrames by processAudioBuffer() as\nthe last write before stop() could be partial. No doing so will lead\ninto unnecessary sleep before filling the non contiguous part\nof the buffer returned by obtainBuffer() when processAudioBuffer()\nis executed for the first time after start().\n\nChange-Id: Id703f8dc092a6f07c905eee194054b4a978f979d\n"
    },
    {
      "commit": "d054c32443a493513ab63529b0c8b1aca290278c",
      "tree": "fc68ba259ded1dd4960bee2938a9bcc7c599c9a3",
      "parents": [
        "96f60d8f04432a1ed503b3e24d5736d28c63c9a2"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jul 12 12:59:20 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Jul 30 09:50:48 2013 -0700"
      },
      "message": "Move control block mName to createTrack() output\n\nThis is part of a series of CLs to clean up the shared memory\ncontrol block, by removing any fields that don\u0027t have to be there.\n\nChange-Id: I6e51003a1293b6800258c31b22cff2eba42162e7\n"
    },
    {
      "commit": "96f60d8f04432a1ed503b3e24d5736d28c63c9a2",
      "tree": "083f6224327e0965a925076b3e1aec5636598203",
      "parents": [
        "97252bb0e40a5a9b41f020163393cf6c5da10b7e"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Jul 12 10:21:18 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Jul 30 09:40:17 2013 -0700"
      },
      "message": "Rename control block flags to mFlags\n\nChange-Id: I7b6d31e24531954ab1ecdf3ed56c19433700bd89\n"
    },
    {
      "commit": "b1a270d1e926fb9a01b4265a7675ed0c2c8f4868",
      "tree": "091d06b02bc126ff1bb2dd1fabc9be829582ae69",
      "parents": [
        "bfb1b832079bbb9426f72f3863199a54aefd02da"
      ],
      "author": {
        "name": "Richard Fitzgerald",
        "email": "rf@opensource.wolfsonmicro.com",
        "time": "Tue May 14 12:12:21 2013 +0100"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Thu Jul 25 14:08:09 2013 -0700"
      },
      "message": "libmedia: offloaded playback support\n\n- start() returns a status so that upper layers can\nrecreate a non offloaded track in case of error.\n\n- Added states to handle offloaded tracks specific:\n  - waiting for stream end (drain) notification by\naudio flinger\n  - allow pause while waiting for stream end notification\n\n- getPosition() queries the render position directly from\naudio HAL.\n\n- disable APIs not applicable to offloaded tracks\n\n- Modified track restoring behavior for invalidated\noffloaded tracks: just send the callback and wait for\nupper layers to create a new track.\n\n- Added wait for stream end management in audio track client\nproxy. Similar to obtainBuffer and should be factored in.\n\nChange-Id: I0fc48117946364cb255afd653195498891f622bd\nSigned-off-by: Eric Laurent \u003celaurent@google.com\u003e\n"
    },
    {
      "commit": "cff1b2359b8a302f19539c0bc5d25c98a52733fd",
      "tree": "e0d7b7b64f4b3a9cf3eb7d2158de59efb4bd0b3a",
      "parents": [
        "bb849b5d1a0364b69aa15ed00709edf4b7e348fc",
        "fb1fdc9d6603aa228362e7349451f6455c9849c2"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Jul 17 14:44:50 2013 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Wed Jul 17 14:44:51 2013 +0000"
      },
      "message": "Merge \"Add comments\""
    },
    {
      "commit": "fb1fdc9d6603aa228362e7349451f6455c9849c2",
      "tree": "1caac6c881db81bcfedb596b292ce62ecbaf6a2c",
      "parents": [
        "551ababe67ce31778000d52958e53e1c56e1a294"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Jul 10 17:03:19 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Jul 10 17:08:15 2013 -0700"
      },
      "message": "Add comments\n\nChange-Id: Ifbf3a46a4183c8abc0feee1c588953ab10303cc1\n"
    },
    {
      "commit": "b0dfd4613225a3b2a17bdf8d85e89a4b04d65ef3",
      "tree": "f732881ddedfd52ce6f3b14820e4bf1e7bd9bba9",
      "parents": [
        "551ababe67ce31778000d52958e53e1c56e1a294"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Jul 10 16:52:47 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Jul 10 16:52:47 2013 -0700"
      },
      "message": "Fix type error in AudioTrack::processAudioBuffer\n\nIt returned a bool instead of nsecs_t\n\nChange-Id: If0c096dac411afc0a4142ec1e59c1fdd36d4867c\n"
    },
    {
      "commit": "1ab85ec401801ef9a9184650d0f5a1639b45eeb9",
      "tree": "c3a39f141461642c3ac3c7f1370ca679d08d80e6",
      "parents": [
        "8f13428cb29a9b610a9e9a0f5fea437cd2d3f032"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri May 31 09:18:43 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Jul 02 13:43:24 2013 -0700"
      },
      "message": "Include what is needed\n\nRemove old includes.\nHeader files only include other header files that they directly need themselves.\n\nChange-Id: Ic471386808d9f42ea19ccbd59cb50a5f83a89dd0\n"
    },
    {
      "commit": "ad3af3305f024bcbbd55c894a4995e449498e1ba",
      "tree": "2e242d4c49cce9faefc28665c6ee63a2a5da170c",
      "parents": [
        "7919fa2c33b1fa7f5e49b2188d671bfe519c231e"
      ],
      "author": {
        "name": "Richard Fitzgerald",
        "email": "rf@opensource.wolfsonmicro.com",
        "time": "Mon Mar 25 16:54:37 2013 +0000"
      },
      "committer": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Thu Jun 27 17:16:24 2013 -0700"
      },
      "message": "Public API changes for audio offload support.\n\nNOTE: this does _not_ include all private member variables added\nto classes as part of offload support. Only public/protected functions\nand stubs functions/variables needed to make the changes buildable.\n\n- isOffloadSupported() added to audio policy service\n    A stub implementation is required to build, this always returns false\n- setParameters() added to IAudioTrack\n    A stub implementation is required to build, this always returns\n    INVALID_OPERATION\n\n- CBlk flag for stream end\n\n- Change AudioSystem::getRenderPosition() to take an audio_output_t\n    so caller can specify which output to query\n\n- Add AudioSystem::isOffloadSupported()\n    This is fully implemented down to the AudioFlinger function\n    AudioPolicyServer::isOffloadSupported() which is just a stub\n    that always returns false.\n\n- Add EVENT_STREAM_END to AudioTrack interface.\n    STREAM_END is used to signal when the hardware has actually finished\n    playing all the data it was sent.\n\n- Add event type enumeration to media player interface AudioSink callbacks\n    so that the same callback can be used to handle multiple types of\n    event. For offloaded tracks we also have to handle STREAM_END and\n    TEAR_DOWN events\n\n- Pass audio_offload_info_t to various functions used for opening outputs,\n    tracks and audio players. This passes additional information about the\n    compressed stream down to the HAL when using offload.\n    For publicly-available APIs this is an optional parameter (for some of\n    the internal and low-level APIs around the HAL interface it is mandatory)\n\n- Add getParameters() and setParameters() API to AudioTrack\n    Currently dummy implementations.\n\n- Change AudioPlayer contructor so that it takes a set of bitflags defining what\n    options are required. This replaces the original bool which only specified\n    whether to use deep buffering.\n\n- Changes to StageFright class definition related to handling tearing-down of\n    an offloaded track when we need to switch back to software decode\n\n- Define new StageFright utility functions used for offloaded tracks\n    Currently dummy implementations.\n\n- AudioFlinger changes to use extended audio_config_t.\n    Fills in audio_offload_info_t member if this info is passed in when\n    opening an output.\n\n- libvideoeditor changes required to add the new event type parameter\n    to AudioSink callback functions\n\n- libmediaplayerservice changes required to add the new event type parameter\n    to AudioSink callback functions\n\nChange-Id: I3ab41138aa1083d81fe83b886a9b1021ec7320f1\nSigned-off-by: Richard Fitzgerald \u003crf@opensource.wolfsonmicro.com\u003e\nSigned-off-by: Eric Laurent \u003celaurent@google.com\u003e\n"
    },
    {
      "commit": "9f80dd223d83d9bb9077fb6baee056cee4eaf7e5",
      "tree": "79f19f80ebb7978e9bab16e1d9b835849c735592",
      "parents": [
        "9fef8d453b15a91a2b748faac2bfaff713bcf1e1"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Dec 18 15:57:32 2012 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Jun 12 14:33:10 2013 -0700"
      },
      "message": "New control block for AudioTrack and AudioRecord\n\nMain differences between old and new control block:\n - removes the mutex, which was a potential source of priority inversion\n - circular indices into shared buffer, which is now always a power-of-2 size\n\nChange-Id: I4e9b7fa99858b488ac98a441fa70e31dbba1b865\n"
    },
    {
      "commit": "bb6f0a0bb413817d707cfb4c4a30847fda520787",
      "tree": "4fa6837f6302ae59367583d52565e70f3479c140",
      "parents": [
        "587f8425a9522b2d0fe1ae0d211a259ec83786d1"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Jun 03 15:00:29 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Jun 04 16:42:58 2013 -0700"
      },
      "message": "Fix underruns when sample rate !\u003d native sample rate\n\nThis forces a minimum of 3 application buffers when the sample rates\ndon\u0027t match, using the normal mixer and low latency HAL.\n\nThere is still an issue that the latency() varies depending on whether\nscreen was off or on at the time of creating the AudioTrack.\n\nWith screen on:\nI/AudioTrack( 2028): afFrameCount\u003d960, minBufCount\u003d2, afSampleRate\u003d48000, afLatency\u003d50\nI/AudioTrack( 2028): minFrameCount: 2646, afFrameCount\u003d960, minBufCount\u003d3, sampleRate\u003d44100, afSampleRate\u003d48000, afLatency\u003d50\n\nWith screen off:\nI/AudioTrack( 2817): afFrameCount\u003d960, minBufCount\u003d4, afSampleRate\u003d48000, afLatency\u003d84\nI/AudioTrack( 2817): minFrameCount: 3528, afFrameCount\u003d960, minBufCount\u003d4, sampleRate\u003d44100, afSampleRate\u003d48000, afLatency\u003d84\n\nChange-Id: Ib45515edff2afcd672dda34881b658c800ffc25a\n"
    },
    {
      "commit": "7c027248e1a4ccd5b22bc4deafb03e2d87ac8f38",
      "tree": "ed6b92a79faa533f7c1156836f00b9dcaec8834d",
      "parents": [
        "8bae43ae86b9942892980c3c01bff5c812b1db7f"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Dec 26 14:43:16 2012 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Thu May 30 13:40:56 2013 -0700"
      },
      "message": "Consistent whitespace\n\nChange-Id: I118cce68d3b777f9ec9b6bfb70367496422a40f2\n"
    },
    {
      "commit": "61aa989a5768b9b0571ca14edaf15886509a0ec8",
      "tree": "e272f0ac691569a8c5a54ecb5910f277afe369ca",
      "parents": [
        "b0864b6a20dc2e72bd6d08ad3c06f0fa5cef92e0",
        "1641f328d4de3b2b61481607dc482ccaefe808a9"
      ],
      "author": {
        "name": "Eric Laurent",
        "email": "elaurent@google.com",
        "time": "Fri May 03 14:54:07 2013 -0700"
      },
      "committer": {
        "name": "Android Git Automerger",
        "email": "android-git-automerger@android.com",
        "time": "Fri May 03 14:54:07 2013 -0700"
      },
      "message": "am 1641f328: am 4170f515: Merge \"Remove timing jitter during startup of audio\" into jb-mr2-dev\n\n* commit \u00271641f328d4de3b2b61481607dc482ccaefe808a9\u0027:\n  Remove timing jitter during startup of audio\n"
    },
    {
      "commit": "a07f17ca46db04c9d5d9e7d6b2878db59ca2b9ea",
      "tree": "5f35039b1b7ed7518280e9a436536600a5aac5c9",
      "parents": [
        "5e43772296d7c5b8faf4b0ce4efe68778729bc74"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Apr 23 12:39:37 2013 -0700"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Apr 23 14:18:18 2013 -0700"
      },
      "message": "Remove timing jitter during startup of audio\n\nThis fixes a regression introduced recently, that increased timing jitter\nduring the startup of the FastMixer and AudioTrack callback threads.\n\nThe regression was to make requestPriority() asynchronous as a way to\navoid an apparent priority inversion in system_server.  This means that\nthe target thread could run briefly with the initial priority, before\nthe new priority takes effect.\n\nThis change removes the startup jitter for FastMixer, by making the\nrequestPriority() synchronous again for that case.  It doesn\u0027t matter\nthat this restores the priority inversion involving normal mixer thread,\nbecause it happens during startup of both threads.\n\nThe change also removes the startup jitter for the AudioTrack callback\nthread, by having the target thread check whether the requestPriority()\nhas completed yet.  If not, the target thread blocks with a timeout\nuntil the priority boost finishes.\n\nFinally, we now log an error message if the expected priority boost\ndoesn\u0027t happen.\n\nBug: 8698989\nChange-Id: Id590e9a274b70ec1ba85b44a585ee37a22e41cbc\n"
    },
    {
      "commit": "9c6745f128648f6e0144b74ee593911a9fa10d51",
      "tree": "04921173242fd90eec6f5d6589d0e7c2edc53c4d",
      "parents": [
        "f78f2629f5f6f5fc37a2089a85107fed97f12192"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Nov 30 13:35:29 2012 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Jan 07 14:24:21 2013 -0800"
      },
      "message": "Propose new interpretation for setPosition and setLoop\n\nAdd new API getBufferPosition to return position relative\nto start of fixed buffer.\n\nChange-Id: I7aca8e392d45b988545f07b36b5032691057b03e\n"
    },
    {
      "commit": "d5681bc9a38fe4cd1d591e6ae62b9c68fb851041",
      "tree": "88d51865d4e4f98d05408975762b85894050e6b7",
      "parents": [
        "49d24d3fcd01aef0ec1fa4abd9c1b85473f64c0f",
        "e3aa659e9cee7df5c12a80d285cc29ab3b2cbb39"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Dec 21 15:04:30 2012 -0800"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Dec 21 15:04:30 2012 -0800"
      },
      "message": "Merge \"Start isolating control block accesses in a proxy\""
    },
    {
      "commit": "8d6cc842e8d525405c68e57fdf3bc5da0b4d7e87",
      "tree": "d3296fc4f886ae058cb353cec79576b7e4428897",
      "parents": [
        "53bc0a2fc54330534330118edd5c393f39eff8ab"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Feb 03 11:06:53 2012 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Dec 18 16:16:30 2012 -0800"
      },
      "message": "Remove unnecessary parameter\n\nJust get the parameter on server side\n\nChange-Id: I433a63104dbb257e0d862be2ab61847cb36d1c15\n"
    },
    {
      "commit": "e3aa659e9cee7df5c12a80d285cc29ab3b2cbb39",
      "tree": "90fdb6e9da1a03f4f24691aae27ae94ff913f1c7",
      "parents": [
        "84b6440fa1d1274267deabe0bd8dc626b5548e4c"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Tue Dec 04 12:22:46 2012 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Wed Dec 12 12:21:59 2012 -0800"
      },
      "message": "Start isolating control block accesses in a proxy\n\nThe proxy object will eventually be the only code that understands the\ndetails of the control block.  This should make it easier to change the\ncontrol block in the future.\n\nInitial set of control block fields that are isolated:\n - sample rate\n - send level\n - volume\n\nPrepare for streaming/static separation by adding a union to the control\nblock for the new fields.\n\nFix bug in handling of max sample rate on a track.  It was only checking\nat re-configuration, not at each mix.\n\nSimplify OutputTrack::obtainBuffer.\n\nChange-Id: I2249f9d04f73a911a922ad1d7f6197292c74cd92\n"
    },
    {
      "commit": "a8190fc518b6769257896605f3aee091aeb60b50",
      "tree": "6b235739b3e020180516761cb19f2163cacdb094",
      "parents": [
        "083d1c1492d496960d5b28f4664ff02101736677"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Dec 03 17:06:56 2012 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Dec 03 17:11:19 2012 -0800"
      },
      "message": "Split off the current control block to separate file\n\nPrepare for a new implementation of step() etc.\n\nChange-Id: I268421976ba577aa1fb5d7015de5441c05861190\n"
    },
    {
      "commit": "083d1c1492d496960d5b28f4664ff02101736677",
      "tree": "5640adaecd5293c1088bf6bf3475b4887f4f9cb2",
      "parents": [
        "4bae3649d504d590a546717a8e49f96a30d9a745"
      ],
      "author": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Fri Nov 30 15:00:36 2012 -0800"
      },
      "committer": {
        "name": "Glenn Kasten",
        "email": "gkasten@google.com",
        "time": "Mon Dec 03 11:38:57 2012 -0800"
      },
      "message": "Emphasize distinction between streaming and static\n\nUpdate comments and improve error checks to match\n\nChange-Id: I7370d6e59a7ef26dfb284a8b058d5ab2e0a42ccf\n"
    }
  ],
  "next": "4bae3649d504d590a546717a8e49f96a30d9a745"
}
