{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/26512","labels_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/26512/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/26512/comments","events_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/26512/events","html_url":"https://github.com/mozilla-b2g/gaia/pull/26512","id":50259102,"number":26512,"title":"Bug 1100822 - Implement AudioChannelManager module","user":{"login":"evanxd","id":3013038,"avatar_url":"https://avatars.githubusercontent.com/u/3013038?v=3","gravatar_id":"","url":"https://api.github.com/users/evanxd","html_url":"https://github.com/evanxd","followers_url":"https://api.github.com/users/evanxd/followers","following_url":"https://api.github.com/users/evanxd/following{/other_user}","gists_url":"https://api.github.com/users/evanxd/gists{/gist_id}","starred_url":"https://api.github.com/users/evanxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanxd/subscriptions","organizations_url":"https://api.github.com/users/evanxd/orgs","repos_url":"https://api.github.com/users/evanxd/repos","events_url":"https://api.github.com/users/evanxd/events{/privacy}","received_events_url":"https://api.github.com/users/evanxd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":33,"created_at":"2014-11-27T06:32:37Z","updated_at":"2015-03-31T08:08:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/26512","html_url":"https://github.com/mozilla-b2g/gaia/pull/26512","diff_url":"https://github.com/mozilla-b2g/gaia/pull/26512.diff","patch_url":"https://github.com/mozilla-b2g/gaia/pull/26512.patch"},"body":"The below is the API interface of BrowserElementAudioChannel[1].\r\n\r\n```\r\n+/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */\r\n+/* This Source Code Form is subject to the terms of the Mozilla Public\r\n+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,\r\n+ * You can obtain one at http://mozilla.org/MPL/2.0/.\r\n+ */\r\n+\r\n+[Pref=\"dom.mozBrowserFramesEnabled\",\r\n+ CheckPermissions=\"browser\"]\r\n+interface BrowserElementAudioChannel : EventTarget {\r\n+  readonly attribute AudioChannel name;\r\n+\r\n+  // This event is dispatched when this audiochannel is actually in used by the\r\n+  // app or one of the sub-iframes.\r\n+  attribute EventHandler onactivestatechanged;\r\n+\r\n+  [Throws]\r\n+  DOMRequest getVolume();\r\n+\r\n+  [Throws]\r\n+  DOMRequest setVolume(float aVolume);\r\n+\r\n+  [Throws]\r\n+  DOMRequest getMuted();\r\n+\r\n+  [Throws]\r\n+  DOMRequest setMuted(boolean aMuted);\r\n+\r\n+  [Throws]\r\n+  DOMRequest isActive();\r\n+};\r\n```\r\n\r\nAnd you could see the UX spec in [2].\r\n\r\n[1]: https://bug1113086.bugzilla.mozilla.org/attachment.cgi?id=8553107\r\n[2]: https://bug961967.bugzilla.mozilla.org/attachment.cgi?id=8541542"},"comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/comments/87989663","html_url":"https://github.com/mozilla-b2g/gaia/pull/26512#issuecomment-87989663","issue_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/26512","id":87989663,"user":{"login":"lightsofapollo","id":322957,"avatar_url":"https://avatars.githubusercontent.com/u/322957?v=3","gravatar_id":"","url":"https://api.github.com/users/lightsofapollo","html_url":"https://github.com/lightsofapollo","followers_url":"https://api.github.com/users/lightsofapollo/followers","following_url":"https://api.github.com/users/lightsofapollo/following{/other_user}","gists_url":"https://api.github.com/users/lightsofapollo/gists{/gist_id}","starred_url":"https://api.github.com/users/lightsofapollo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightsofapollo/subscriptions","organizations_url":"https://api.github.com/users/lightsofapollo/orgs","repos_url":"https://api.github.com/users/lightsofapollo/repos","events_url":"https://api.github.com/users/lightsofapollo/events{/privacy}","received_events_url":"https://api.github.com/users/lightsofapollo/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T08:08:38Z","updated_at":"2015-03-31T08:08:38Z","body":"Running tests\nhttps://treeherder.mozilla.org/#/jobs?repo=gaia&revision=1a94fd31c9232263c3ce9c098c2f0a915904b676"}}