Ehsan Akhgari
525296f898
Bug 821062 - Share a decoding thread pool for all AudioContexts; r=padenot
2014-02-20 09:02:14 -05:00
Karl Tomlinson
65d29a3804
b=966867 use internal linkage for GetSampleRateForAudioContext r=kinetik
...
--HG--
extra : transplant_source : t%F5%2A%A2%ADbI%40%A3%0E%9FS%D1%FCC%0B%1B%3E%0A%9B
2014-02-03 17:40:24 +13:00
Robert O'Callahan
5a93b0d89d
Bug 952893. Part 1: Block the AudioDestinationNode when it's the only node in the AudioContext. r=padenot,karlt
2014-01-16 00:08:20 +13:00
Ryan VanderMeulen
733397089c
Backed out changesets ac4e6f145b9a, 91c572ac5ee1, f501606dc1d3, and 15fc5d1cb10e (bug 952893) for test failures on a CLOSED TREE.
2014-01-29 14:34:08 -05:00
Robert O'Callahan
1ac533d470
Bug 952893. Part 1: Block the AudioDestinationNode when it's the only node in the AudioContext. r=padenot
2014-01-16 00:08:20 +13:00
Paul Adenot
76d630d993
Bug 952893 - Backout changesets 780cba0f9f59, 887fe3a09c3d and fb04a4252ea3 for bad commit message, DONTBUILD.
2014-01-29 17:36:56 +01:00
Robert O'Callahan
c16d623fd5
Bug 952389. Part 1: Block the AudioDestinationNode when it's the only node in the AudioContext. r=padenot
2014-01-16 00:08:20 +13:00
Paul Adenot
0a391e2f8e
Bug 956201 - Null check the destination node when muting. r=karlt
...
This can happen since we now mute instead of suspending when an AudioContext
shuts down.
2014-01-07 11:17:28 +01:00
Boris Zbarsky
9d25dc48cc
Bug 950315 part 1. Convert a bunch of event targets to passing a Window or nsDOMEventTargetHelper directly to the constructor of their ancestor nsDOMEventTargetHelper. r=smaug
2014-01-06 21:53:23 -05:00
Ehsan Akhgari
384530ea4e
Bug 884368 - Part 1: Add a memory reporter for AudioContexts; r=roc,njn
2014-01-04 13:15:41 -05:00
Paul Adenot
c11c0c60e1
Bug 936784 - Only mute on Shutdown if the AudioContext is not an OfflineAudioContext.
2013-12-18 16:07:37 +01:00
Paul Adenot
0f3fd2b88f
Bug 936784 - Don't overbuffer in the MSG on AudioContext shutdown. r=roc,ehsan
2013-12-17 16:15:07 +01:00
Paul Adenot
93b93df051
Bug 949474 - Reflect the fact that the nominal range for the sampleRate argument of the AudioContext.createBuffer changed in the spec. r=
...
* * *
Bug 949474 - Fix various oranges, on a CLOSED TREE.
--HG--
extra : rebase_source : 1317857063b7f028687aab1c00f113d947cd5685
2013-12-13 17:58:00 +01:00
Ryan VanderMeulen
1c7f8554cb
Backed out changeset 71f9f57e5ddb (bug 949474) for test_bug808374.html failures.
...
CLOSED TREE
2013-12-12 16:05:53 -05:00
Paul Adenot
74caf2eca4
Bug 949474 - Reflect the fact that the nominal range for the sampleRate argument of the AudioContext.createBuffer changed in the spec. r=ehsan
2013-12-12 16:05:31 +01:00
Paul Adenot
565650d978
Bug 944707 - Stop locking when getting the preferred samplerate from the AudioStream. r=kinetik
...
--HG--
extra : rebase_source : bbf7b305d13f252e7c743bb9abf12da078db865b
2013-12-09 20:54:49 +01:00
Paul Adenot
9caf81f97d
Bug 916384 and 944707 - Backed out fa872452b89d and 012b1baf2b19 for crashes on a CLOSED TREE.
2013-12-11 16:31:35 +01:00
Paul Adenot
306a521da6
Bug 944707 - Stop locking when getting the preferred sample rate from the AudioStream. r=kinetik
...
--HG--
extra : rebase_source : f2b5be30c25d71cfdb259cb5035335fb4e8a415c
2013-12-09 20:54:49 +01:00
Karl Tomlinson
6d8f7b4e50
b=936317 prevent MediaBufferDecoder threads from waiting after AudioContext shutdown() r=ehsan
...
--HG--
extra : transplant_source : %CE%E5O%83N%8FX%ED%2Ck%17I%B1%92%B6%A0lXH%D1
2013-11-09 14:07:45 +13:00
Andrea Marchesini
848dcf3943
Bug 924870 - AudioContext.mozAudioChannel attribute, r=ehsan
2013-10-11 13:55:47 +02:00
Andrea Marchesini
8c22a53a8f
Bug 923517 - AudioDestinationNode should work as an EventTarget, r=ehsan
2013-10-03 18:40:20 -04:00
Karl Tomlinson
369838f31f
b=914033 add active nodes to CC traversal of AudioContext when the context is not rendering r=ehsan
...
An OfflineAudioContext needs to keep references to nodes that will be used if
startRendering() is called. If, however, the last reference to the Context is
removed, then startRendering() will not be called and so the nodes will not be
used and can be unlinked now.
--HG--
extra : transplant_source : %D4%91%0B%99K%2A%3E%906%1D%08%5D%60%84%B8%25O%3C%08D
2013-09-24 13:47:30 +12:00
Karl Tomlinson
c56ab2cb32
b=914033 use AudioContext::RegisterActiveNode() in AudioBufferSourceNode r=ehsan
...
Storing references on the AudioContext instead of on the AudioNodes will allow
the AudioContext to report them to the cycle collector until offline rendering
starts.
--HG--
extra : transplant_source : %13%87%97%9F%CD%D8V%16%D2%D4%B5%84D%0A%D6%02%9BNj%FC
2013-09-24 13:47:00 +12:00
Karl Tomlinson
98b52b4d99
b=914033 use AudioContext::RegisterActiveNode() in ScriptProcessorNode r=ehsan
...
Storing references on the AudioContext instead of on the AudioNodes will allow
the AudioContext to report them to the cycle collector until offline rendering
starts.
--HG--
extra : transplant_source : %CD%5Els2%7F/%DD%5E%07%08%FE%29%5B%98%95%F3%11G%E6
2013-09-24 13:46:30 +12:00
Karl Tomlinson
89cd46ef7d
b=914033 use AudioContext::RegisterActiveNode() in OscillatorNode r=ehsan
...
Storing references on the AudioContext instead of on the AudioNodes will allow
the AudioContext to report them to the cycle collector until offline rendering
starts.
--HG--
extra : transplant_source : %81%83Hp%F6T%E7%9EA%B3%D0%5Dz%EA%1FYv%A2%23%ED
2013-09-24 13:45:41 +12:00
Karl Tomlinson
9afb11760d
b=917260 null check mDestination in AudioContext::Shutdown() r=ehsan
...
This handles the case where Shutdown() is called after Unlink()
(but before the destructor).
--HG--
extra : transplant_source : %97A%BE%60%F5j%F5%F0GT%C2%B6%F8%A2%BD%13%2B%02%83R
2013-09-19 12:04:13 +12:00
Paul Adenot
c94c62d6d1
Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan
2013-09-17 15:23:52 +02:00
Ralph Giles
ee917522f4
Bug 865256 - Part 4: Implement custom waveforms. r=ehsan,padenot
...
Copy the periodicWave data into a shareable buffer.
Add a SetBuffer call to send the buffer data to the
OscillatorNodeEngine. Call into blink's PeriodicWave
implementation to generate bandlimited tables bracketing
the desired frequency and interpolate the output data
from them.
Change the PeriodicWave constructor to only take one
length, since both arrays must be the same size.
Change OscillatorNode's SetType to throw INVALID_STATE
instead of NOT_IMPLEMENTED if js tries to assign
type = 'custom' directly.
2013-08-28 15:39:26 -07:00
Karl Tomlinson
24edb394d3
b=916680 don't keep active AudioNodes alive from an AudioContext that has shut down r=ehsan
...
--HG--
extra : transplant_source : %20%3Fl%E0%D7R%7B_%E6%B0%C7%BB%3A%E7%21%9D%F1%A2%F4%1C
2013-09-18 13:10:30 +12:00
Karl Tomlinson
cf1704526c
b=910171 add a general means to keep active nodes alive from the AudioContext r=ehsan
...
AudioNodes that keep playing or tail-time references need to have these
references cleared when an AudioContext has completed or is shut down by the
window.
Storing references on the AudioContext instead of on the AudioNodes will allow
the AudioContext to report playing references to the cycle collector until
offline rendering starts for bug 914033. This is not necessary for tail-time
references, but it is tidier to use the same code for playing and tail-time
references.
--HG--
extra : transplant_source : %E0%F1%06%BFV%B6XI%9BX%8E%8D7%3FsU%8F%F9%14r
2013-09-17 11:53:40 +12:00
Karl Tomlinson
92875436fc
b=916422 make OfflineAudioContext::StartRendering() throw if called more than once r=ehsan
...
--HG--
extra : transplant_source : %B6T%C0C%F0/%03%A3C%25%9B%EF%A8%C41%8E%86%E9%FCr
2013-09-16 17:14:45 +12:00
Ed Morley
e332c5a8a3
Backed out changeset 4323508b3412 (bug 917260)
2013-09-17 17:14:33 +01:00
Paul Adenot
bcf3bcf9e1
Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan
...
--HG--
extra : rebase_source : daec86b27d8497ba109ca998f0fccf3d6d7c3677
2013-09-17 15:23:52 +02:00
Karl Tomlinson
45ad762f15
b=914030 don't keep alive used AudioContexts from the window r=ehsan,bz
...
--HG--
extra : transplant_source : %9D%94%FF%AA%92%C7%5B8%FA%C7%DD%3A%E3W%9E%BD%7F%25%5C%19
2013-09-12 16:16:53 +12:00
Karl Tomlinson
bc5038c3ed
b=914030 keep a self reference on destination while offline context is rendering r=ehsan
...
--HG--
extra : transplant_source : %FAk%98%E7%CB%2C%C6uf%EE%F4%CFq%3D%A7%D1%D6%E9%F1%29
2013-09-10 17:10:53 +12:00
Karl Tomlinson
3ad31f44b9
b=914030 remove MediaBufferDecoder::Shutdown(), no longer necessary since bug 900711, as part of making AudioContext::Shutdown() idempotent r=ehsan
...
--HG--
extra : transplant_source : %A8%BB%7D%A3%A6%87NF%F3%9D.Lu%D4%15B%10%9C%DFR
2013-09-10 17:03:06 +12:00
Ms2ger
4db82f5aba
Bug 913923 - Part b: Move OwningNonNull into its own header; r=dzbarsky
...
--HG--
rename : dom/bindings/BindingUtils.h => dom/bindings/OwningNonNull.h
2013-09-10 09:03:37 +02:00
Robert O'Callahan
8ca63f18ef
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Kyle Huey
bf31d78a83
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
Ralph Giles
b2a2d1d336
Bug 865253 - Part 4: Stop OscillatorNodes on context shutdown. r=ehsan
...
Like AudioBufferSourceNode and ScriptProcessorNode, OscillatorNode
holds a self-reference in mPlaying. Keep track of all osc nodes
in the AudioContext and explicitly stop them to make sure this
reference is dropped.
2013-08-19 11:57:00 -07:00
Ehsan Akhgari
d323ec880a
Bug 865253 - Part 1: Implement the DOM bindings for OscillatorNode; r=roc
2013-08-19 11:53:00 -07:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Ehsan Akhgari
d6eeb2dccd
Bug 855568 - Implement MediaElementAudioSourceNode
...
X-Git-Commit-ID: 52f1fcdd561e8214e6820a3f2478d9e8b9623430
--HG--
extra : rebase_source : c40cd0c7070dec9e0273093499228f13906f8fc5
2013-07-25 15:01:49 +12:00
Robert O'Callahan
306005fb0f
Bug 856361. Part 6: Make MediaStreamAudioSourceNode keep its DOMMediaStream alive, and make the DOMMediaStream keep the MediaStreamAudioSourceNode alive. r=ehsan
...
--HG--
extra : rebase_source : 0e3b5108d8ced8b1f1f427c9fd4f87e97c46921d
2013-07-25 14:07:34 +12:00
secretrobotron
2c86644947
Bug 856361. Part 5: Implement MediaStreamAudioSourceNode. r=ehsan
...
--HG--
extra : rebase_source : 265f31edda31a2f749eacc568919304622446748
2013-07-24 23:29:39 +12:00
Boris Zbarsky
82ba945cef
Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug
2013-08-05 13:40:01 -04:00
Ehsan Akhgari
fa95f63946
Bug 900341 - Shut down the decoder object for an AudioContext from a runnable; r=bent,roc
2013-08-02 12:07:17 -04:00
Paul Adenot
f0b2dcf9d3
Bug 883591 - Don't allow creating a MediaStreamDestinationNode on an OfflineAudioContext. r=ehsan
2013-07-18 11:57:38 +02:00
Paul Adenot
23e5b0ef24
Bug 894150 - Unregister the PannerNode in the AudioListener when destroying the stream. r=ehsan
2013-07-16 14:45:41 +02:00
Ryan VanderMeulen
01616062a4
Backed out 2 changesets (bug 894150) for crashtest orange.
...
Backed out changeset 80ce41a4e6ee (bug 894150)
Backed out changeset b41c7f2ddda5 (bug 894150)
2013-07-16 12:33:56 -04:00