Commit Graph

28 Commits

Author SHA1 Message Date
Andrea Marchesini
de7438cf52 Bug 1324352 - Implement BaseAudioContext, r=padenot 2016-12-21 10:52:50 +01:00
Sebastian Hengst
ac153b5903 Backed out changeset 50a74758ee7d (bug 1324352) for failing webaudioeditor devtools tests like test/browser_audionode-actor-bypass.js. r=backout 2016-12-20 23:03:36 +01:00
Andrea Marchesini
ad79ef8d0a Bug 1324352 - Implement BaseAudioContext, r=padenot 2016-12-20 20:20:41 +01:00
Andrea Marchesini
a71db5b97f Bug 1322883 - AudioNode constructors - part 0 - AnalyserNode, r=padenot 2016-12-15 19:24:41 +01:00
Paul Adenot
5056af1d5d Bug 1130010: Implement the new AudioNode.disconnect methods. r=dminor,ehsan
Initial patch by Thomas Escalon <tesc.bugzilla@gmail.com>.

MozReview-Commit-ID: KDnmKIGWYL
2015-06-05 11:17:14 +02:00
Paul Adenot
36a828f198 Bug 1288359 - Add a pref to disable the Web Audio API. r=karlt,smaug
MozReview-Commit-ID: 6h37P9PctYW

--HG--
extra : rebase_source : c4ab6cfe7b8267e6529b10358e3e4102cce1f15f
2016-07-22 13:59:52 +02:00
Dan Minor
de25516000 Bug 11130010 - Backout new AudioNode.disconnect methods; r=mreavy,karlt,smaug
MozReview-Commit-ID: AgHScRbICYU

--HG--
extra : rebase_source : 9ee0a1b35e5e292059f47fdea9f3782943b2ba5f
extra : amend_source : 40c16a7338c89cbce9ad550453fadbe1b7963aa0
2016-08-16 15:26:35 -04:00
Paul Adenot
4616d008f9 Bug 1130010: Implement the new AudioNode.disconnect methods. r=dminor,ehsan
Initial patch by Thomas Escalon <tesc.bugzilla@gmail.com>.

MozReview-Commit-ID: KDnmKIGWYL
2015-06-05 11:17:14 +02:00
Sebastian Hengst
39bd9f8b8e Backed out changeset ac56ced6aba2 (bug 1130010) for bustage. r=backout 2016-07-18 19:45:12 +02:00
Paul Adenot
c1df31800a Bug 1130010: Implement the new AudioNode.disconnect methods. r=dminor,ehsan
Initial patch by Thomas Escalon <tesc.bugzilla@gmail.com>.

MozReview-Commit-ID: KDnmKIGWYL
2015-06-05 11:17:14 +02:00
Paul Adenot
576c333825 Bug 1282820 - Change the specification URL in webidl files for the Web Audio API. DONTBUILD. r=smaug
This patch has been written with this command, ran from the root of the tree:

```
gsed -i 's!https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html!https://webaudio.github.io/web-audio-api/!' dom/webidl/*
```
2016-06-29 11:30:13 +02:00
Paul Adenot
b42848e60e Bug 1218694 - Return the AudioNode connected to when calling AudioNode.connect(). r=smaug
--HG--
extra : rebase_source : c5a58a51f1f43aad2fe64d872009dee88c564503
2015-10-28 13:54:35 +09:00
Ehsan Akhgari
42de58dbf7 Bug 1007778 - Add a devtools API to make some Web Audio nodes pass through their inputs; r=roc,smaug 2014-08-18 20:12:50 -04:00
Ehsan Akhgari
0ab5221feb Bug 1015783 - Add a devtools API for Web Audio; r=padenot,smaug
See bug 980506 for an extensive discussion about this.  This patch adds
three APIs to AudioNode in order for us to be able to build awesome
devtools on top of it.

* Weak reference API.
  This patch allows one to hold a weak reference to all AudioNode's
  using Components.utils.getWeakReference().  That way, the devtool's
  inspection code would not change the lifetime of AudioNodes.
* AudioNode.id
  This is a chrome-only unique and monotonically incrementing ID for
  AudioNode objects.  It is supposed to be used in order for the
  devtools to be able to identify a node without having to keep it
  alive.
* webaudio-node-demise
  This is an observer notification that is called every time an
  AudioNode gets destroyed inside Gecko.  The ID of the corresponding
  node is passed to this notification.

--HG--
extra : rebase_source : 83246a990489daf44ddc97dd4ea372a8cebe8e00
2014-06-03 22:51:48 -04:00
Ehsan Akhgari
0cfa8d7a07 Backed out 3 changesets (bug 1015783) because of test failures on a CLOSED TREE
Backed out changeset 1307202f365c (bug 1015783)
Backed out changeset 5c83b4710688 (bug 1015783)
Backed out changeset feb56fc5dc01 (bug 1015783)
2014-06-03 19:49:04 -04:00
Ehsan Akhgari
11367a7bea Bug 1015783 - Add a devtools API for Web Audio; r=padenot,smaug
See bug 980506 for an extensive discussion about this.  This patch adds
three APIs to AudioNode in order for us to be able to build awesome
devtools on top of it.

* Weak reference API.
  This patch allows one to hold a weak reference to all AudioNode's
  using Components.utils.getWeakReference().  That way, the devtool's
  inspection code would not change the lifetime of AudioNodes.
* AudioNode.id
  This is a chrome-only unique and monotonically incrementing ID for
  AudioNode objects.  It is supposed to be used in order for the
  devtools to be able to identify a node without having to keep it
  alive.
* webaudio-node-demise
  This is an observer notification that is called every time an
  AudioNode gets destroyed inside Gecko.  The ID of the corresponding
  node is passed to this notification.
2014-06-03 18:28:18 -04:00
Ehsan Akhgari
95cbd5d2b1 Bug 968479 - Remove the media.webaudio.enabled pref; r=roc
--HG--
extra : rebase_source : 3618cb3097aa99a79a06af016bf6b3a3c6f77208
2014-02-06 08:36:46 -05:00
Karl Tomlinson
3d1ac8d90c b=906966 limit ConvolverNode and PannerNode input channel count through channelCount and channelCountMode r=ehsan
--HG--
extra : transplant_source : %8A%FB%BC%D3%D0%F3Ct%A5%D1%B1%AF%3D%9Bk%896%7F%7F%1F
2013-09-05 07:44:35 +12:00
Ehsan Akhgari
88179b9901 Bug 874869 - Disallow setting AudioNode.channelCount to zero; r=roc
--HG--
extra : rebase_source : 8015dda70e2191820c9482b529a22bdaa67dd79e
2013-05-23 07:46:20 -04:00
Ryan VanderMeulen
ab09f23cb3 Backed out changesets e52c6f7200b3 and 2718954757e1 (bug 874869) for intermittent Windows leaks. 2013-05-22 15:22:26 -04:00
Ehsan Akhgari
aa8f22ec3d Bug 874869 - Disallow setting AudioNode.channelCount to zero; r=roc 2013-05-22 11:30:31 -04:00
Ehsan Akhgari
caeeb616ee Bug 866434 - Part 1: Make it possible to connect an AudioNode to an AudioParam; r=roc 2013-05-01 18:59:02 -04:00
Ehsan Akhgari
13fd72e30d Bug 865234 - Part 1: Add DOM bindings for the channel mixing attributes; r=roc 2013-04-27 18:44:50 -04:00
Ehsan Akhgari
24a63e7a4e Bug 853298 - Part 2: Make AudioNode an EventTarget; r=smaug 2013-04-12 11:28:33 -04:00
Ehsan Akhgari
a7ce3ce7ca Bug 792649 - Make the simplest of Web Audio tests work without audio playback for now; r=bzbarsky 2012-09-24 23:31:58 -04:00
Ehsan Akhgari
c461ff018e Bug 792646 - Implement the skeleton of Web Audio source and destination nodes; r=bzbarsky
This is the bare minimum that one needs in order to get those interfaces
implemented.  The work to make the simplest of Web Audio test cases
actually pass will be done in bug 792649.
2012-09-21 11:33:03 -04:00
Ehsan Akhgari
e98eaf856f Backout changeset 7d0776416955 (bug 792646) because of leaks 2012-09-20 19:47:07 -04:00
Ehsan Akhgari
58f854c7d4 Bug 792646 - Implement the skeleton of Web Audio source and destination nodes; r=bzbarsky
This is the bare minimum that one needs in order to get those interfaces
implemented.  The work to make the simplest of Web Audio test cases
actually pass will be done in bug 792649.
2012-09-20 18:05:38 -04:00