{"action":"closed","number":4,"pull_request":{"review_comments":0,"created_at":"2011-11-21T08:44:51Z","state":"closed","patch_url":"https://github.com/danieltmiles/echolocation/pull/4.patch","updated_at":"2011-11-21T15:53:32Z","changed_files":1,"_links":{"review_comments":{"href":"https://api.github.com/repos/danieltmiles/echolocation/pulls/4/comments"},"comments":{"href":"https://api.github.com/repos/danieltmiles/echolocation/issues/4/comments"},"html":{"href":"https://github.com/danieltmiles/echolocation/pull/4"},"self":{"href":"https://api.github.com/repos/danieltmiles/echolocation/pulls/4"}},"issue_url":"https://github.com/danieltmiles/echolocation/issues/4","user":{"gravatar_id":"31896169290f738fd7f67114f7363fc0","id":1059499,"url":"https://api.github.com/users/darshan-","login":"darshan-","avatar_url":"https://secure.gravatar.com/avatar/31896169290f738fd7f67114f7363fc0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"merged":true,"body":"The AudioTrack was left open/alive/whatever, which was keeping the PCM hardware from going to sleep, leaving a quiet hissing and periodic (every few seconds) clicking every time it tried and failed to sleep.  Calling track.stop() is almost enough, but then the still running/pending TimerTask would use the track, which restarted it, leaving the problem unsolved.  Setting `track' to null after stopping it, and testing for null in the TimerTask solves the issue.\r\n\r\nThere may be a cleaner way, but I couldn't find a way to wait for any active TimerTasks to stop, and this was simple enough.","deletions":3,"mergeable":null,"commits":5,"id":513582,"additions":5,"merged_by":{"gravatar_id":"601797c8e6f9e1814e075610e5a2c966","id":938904,"url":"https://api.github.com/users/danieltmiles","login":"danieltmiles","avatar_url":"https://secure.gravatar.com/avatar/601797c8e6f9e1814e075610e5a2c966?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"base":{"user":{"gravatar_id":"601797c8e6f9e1814e075610e5a2c966","id":938904,"url":"https://api.github.com/users/danieltmiles","login":"danieltmiles","avatar_url":"https://secure.gravatar.com/avatar/601797c8e6f9e1814e075610e5a2c966?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"repo":{"pushed_at":"2011-11-21T15:53:33Z","created_at":"2011-08-04T15:48:32Z","private":false,"clone_url":"https://github.com/danieltmiles/echolocation.git","updated_at":"2011-11-21T15:53:33Z","name":"echolocation","watchers":2,"svn_url":"https://svn.github.com/danieltmiles/echolocation","master_branch":null,"forks":2,"language":"Java","owner":{"gravatar_id":"601797c8e6f9e1814e075610e5a2c966","id":938904,"url":"https://api.github.com/users/danieltmiles","login":"danieltmiles","avatar_url":"https://secure.gravatar.com/avatar/601797c8e6f9e1814e075610e5a2c966?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2155396,"homepage":"","description":"Make sound seem like it's coming from arbitrary directions on your android device","git_url":"git://github.com/danieltmiles/echolocation.git","html_url":"https://github.com/danieltmiles/echolocation","url":"https://api.github.com/repos/danieltmiles/echolocation","size":11344,"fork":false,"open_issues":0,"ssh_url":"git@github.com:danieltmiles/echolocation.git"},"sha":"33e4d90aebcc9e9035e1de6ebbed44fcba73e1ec","ref":"master","label":"danieltmiles:master"},"number":4,"head":{"user":{"gravatar_id":"31896169290f738fd7f67114f7363fc0","id":1059499,"url":"https://api.github.com/users/darshan-","login":"darshan-","avatar_url":"https://secure.gravatar.com/avatar/31896169290f738fd7f67114f7363fc0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"repo":{"pushed_at":"2011-11-21T08:37:47Z","created_at":"2011-11-11T03:28:50Z","private":false,"clone_url":"https://github.com/darshan-/echolocation.git","updated_at":"2011-11-21T08:37:47Z","name":"echolocation","watchers":1,"svn_url":"https://svn.github.com/darshan-/echolocation","master_branch":null,"forks":0,"language":"Java","owner":{"gravatar_id":"31896169290f738fd7f67114f7363fc0","id":1059499,"url":"https://api.github.com/users/darshan-","login":"darshan-","avatar_url":"https://secure.gravatar.com/avatar/31896169290f738fd7f67114f7363fc0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2753525,"homepage":"","description":"Make sound seem like it's coming from arbitrary directions on your android device","git_url":"git://github.com/darshan-/echolocation.git","html_url":"https://github.com/darshan-/echolocation","url":"https://api.github.com/repos/darshan-/echolocation","size":112,"fork":true,"open_issues":0,"ssh_url":"git@github.com:darshan-/echolocation.git"},"sha":"f4694bb928c554f5d4d6bede2596ce454520160b","ref":"master","label":"darshan-:master"},"title":"Use left on the left (was accidentally using right); Stop AudioTrack on Service destruction.","closed_at":"2011-11-21T15:53:32Z","html_url":"https://github.com/danieltmiles/echolocation/pull/4","url":"https://api.github.com/repos/danieltmiles/echolocation/pulls/4","diff_url":"https://github.com/danieltmiles/echolocation/pull/4.diff","merged_at":"2011-11-21T15:53:32Z"}}