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
1851b62473
b=967992 collect unreferenced AudioBufferSourceNodes with no buffer r=padenot
...
The playing ref now only exists while there is a buffer.
We don't currently dispatch ended events when there is no buffer.
--HG--
extra : transplant_source : Ba%0BRD%89%96%99%F14%B6%40%3D%B2%C1%D5%28%D6%15%12
2014-02-06 08:33:16 +13:00
Karl Tomlinson
15eb0f91d8
b=967992 dispatch ended event, remove playing ref when source buffer is replaced with one shorter than offset r=padenot
...
Sending an updated BUFFEREND will stop playback appropriately.
--HG--
extra : transplant_source : %17%81%5D%B5%CD%F1%7F%EC%23%28%F5D%E4oh%DB%9F%E7%210
2014-02-06 08:30:49 +13:00
Karl Tomlinson
bc1bc1e841
b=967972 include offset in buffer position r=padenot
...
There is a change in behaviour re the offset parameter when changing the
buffer while playing to one with a different sample rate, but I'm not clear
that what we current do with mPosition in that situation is best anyway. I
think the main thing is to ensure playback from the same place if the buffer
is changed to one with the same sample rate.
--HG--
extra : transplant_source : %17%40%15%12L%9E%05et%C2o%BE%15%D7%C7%F4%ED%5E%24q
2014-02-06 08:28:42 +13:00
Karl Tomlinson
c2e12b28d7
b=967972 change DURATION engine parameter to BUFFEREND r=padenot
...
--HG--
extra : transplant_source : %B4%F3i%7FV%A95F%D0%BD%C4%E6u%03%F7%04%7Di%7C%A9
2014-02-06 08:27:45 +13:00
Karl Tomlinson
136e2f7273
b=967924 correct resampler input buffer sample count estimate math r=padenot
...
--HG--
extra : transplant_source : %15%90%0C%22_%99%BFK%14%93%28L%23hZ1%FE%B7NB
2014-02-06 08:15:31 +13:00
Karl Tomlinson
3ecf8b2128
b=966636 rename resampling copy variables consistently and test remaining input better r=padenot
...
--HG--
extra : rebase_source : 7d2c34865aeb21d67207e0d4e7b2fd3e8956d54c
2014-02-05 14:42:18 +13:00
Karl Tomlinson
0ef9824fdd
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
4b41dadb7e
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
286efb128e
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
Paul Adenot
e8f047542d
Bug 952893 - Null-check mStream in AudioDestinationNode::SetIsOnlyNodeForContext as it can be called during CC, on a CLOSED TREE.
...
--HG--
extra : rebase_source : 20893fd4bba9a92c71a3e205e58dc03e6f2958dd
2014-01-29 19:09:39 +01:00
Robert O'Callahan
c58ccf4294
Bug 952893. Part 3: Tighten TimeVarying invariants so that GetAt always returns an end time when the value actually changes. r=padenot
2014-01-16 00:13:08 +13:00
Robert O'Callahan
d583f4c9b5
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
14fd5bbbb9
Bug 952893 - Backout changesets 780cba0f9f59, 887fe3a09c3d and fb04a4252ea3 for bad commit message, DONTBUILD.
2014-01-29 17:36:56 +01:00
Robert O'Callahan
8b105c15d6
Bug 952893. Part 3: Tighten TimeVarying invariants so that GetAt always returns an end time when the value actually changes. r=padenot
...
* * *
Bug 952893 - Fix the rebase.
2014-01-16 00:13:08 +13:00
Robert O'Callahan
cde679bbf5
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
Karl Tomlinson
079b1da469
b=964376 correctly handle a non-null ProduceAudioBlock aOutput parameter r=padenot
...
--HG--
extra : transplant_source : 6%BA%8FNSz%8C%BCrgZ%8B%96T-%8F%F6_%0B%01
2014-01-29 23:47:58 +13:00
Karl Tomlinson
60bbef62f1
b=933304 Remove unnecessary channel count parameter from AudioBlockInPlaceScale r=padenot
...
--HG--
extra : transplant_source : s%04%B1%11%E9%F9%E2%92l%182%FFZm%81%E4/M%B3%BD
2014-01-28 18:14:25 +13:00
Karl Tomlinson
f32e598184
b=933304 use AudioChunk::mVolume to optimize distance and cone gain r=padenot
...
--HG--
extra : transplant_source : %B6%97%20%08%AD%1E%D5N%A8q%5DMZ%5C%DB%10%89%F9%00%29
2014-01-28 18:14:25 +13:00
Karl Tomlinson
e29f878eb1
b=933304 apply PannerNode input gain to both channels, even for stereo input r=padenot
...
--HG--
extra : transplant_source : %BE%A54%E4%8Ezy%AC%FC%BD2%7D%A0h%BB%E0%25%60%94%CA
2014-01-28 18:14:25 +13:00
Karl Tomlinson
0540c0a81b
test for bug 933304
...
--HG--
extra : transplant_source : %B6%EB%D6%89%CCpe%8A%3Cq%EE%F8%F8j%AC%EE%98%08h%08
2014-01-28 18:14:24 +13:00
Paul Adenot
82bcc7b10f
Bug 943589 - Handle AudioChunk::mVolume (from GainNode) in AudioParam. r=ehsan
2014-01-10 15:30:40 +01:00
Paul Adenot
aacecc26c1
Bug 942022 - Return safely when thread creation fails, in ReverbConvolver. r=karlt
2014-01-10 16:01:18 +01:00
Paul Adenot
3ecb953931
Bug 952860 - Leaky integrate sawtooth and square waves in the OscillatorNode to prevent bad DC offset when changing frequency. r=karlt
...
--HG--
extra : rebase_source : f526506e80a4d7db553fe54cc115d8bf1c7be9d2
2014-01-10 12:40:05 +01:00
Paul Adenot
dd19798c04
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
Karl Tomlinson
df5a5e02e8
b=956604 optimize inverse FFT scaling during convolution r=padenot
...
--HG--
extra : transplant_source : %FD%10%CEAnU%98w%15%9D%9E6l%A7Q1%E1V%CDD
2014-01-08 16:58:11 +13:00
Karl Tomlinson
a69af4fbbf
b=956604 Remove unnecessary channel count parameter from AudioBufferInPlaceScale r=padenot
...
--HG--
extra : transplant_source : %98%098%E3%1D%9D%B4%22%FD%ED%3C%96%11%96%F9P%89%F4J0
2014-01-08 16:57:53 +13:00
Karl Tomlinson
2c008faab9
b=956604 rename block version of AudioBufferInPlaceScale to AudioBlockInPlaceScale r=padenot
...
--HG--
extra : transplant_source : %EE%9C%0D%B4%F0S%DA%AFX%3D%D2%10H%28-%82%EE%B5%AB%84
2014-01-08 16:57:26 +13:00
Robert O'Callahan
9d41dd625c
Bug 943461. Part 18: Ensure AudioBufferSourceNode's engine always produces an audio block when ProduceAudioBlock is called, and add an assertion to catch this kind of error directly. r=karl
...
--HG--
extra : rebase_source : e6ae51dc34f5567998af3b299acd48dd10e8394e
2013-12-13 01:33:01 +13:00
Robert O'Callahan
3dce478d14
Bug 943461. Part 12: Remove spurious ScriptProcessorNode from test. r=karl
...
--HG--
extra : rebase_source : e902519b5e1d7bbd7f60545147edd8241e4d9455
2013-12-10 13:49:03 +13:00
Robert O'Callahan
27ac5e476a
Bug 943461. Part 11: Don't tear down an OfflineAudioContext until its current time has actually reached its end, to ensure that all relevant stream state changes have been forwarded to the main thread. r=padenot
...
--HG--
extra : rebase_source : 32b9a4cf4c39edfabf5be17cec50a676f1ad4641
2013-12-09 18:08:02 +13:00
Boris Zbarsky
f401c6a7cc
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
Karl Tomlinson
f3dc828963
b=944143 avoid producing infinite stream of subnormals in ZeroPole tail r=padenot
...
--HG--
extra : transplant_source : gI%94%E9%DB%99%83%B7%09%B6%82q%FF9%5DI%BE%D6%EF%B6
2014-01-07 12:53:48 +13:00
Karl Tomlinson
3d7d128e05
b=949683 optimize zero-gain in GainNode r=padenot
...
--HG--
extra : transplant_source : %97Js%1B%23%13%AEb%7F%9E%B5%C4%BEx%84xV%C1%F7%5B
2014-01-07 12:53:48 +13:00
Karl Tomlinson
544419ae88
b=944851 don't consider AudioNode input when getting AudioParam values on the main thread r=ehsan
...
--HG--
extra : transplant_source : %15o4%BAA%1F%D4%87%01%CD%B3H%A1T%B0%88%27%9F%A1e
2014-01-07 12:53:47 +13:00
Karl Tomlinson
9da3d20771
b=952756 always remember offset and duration from Start() r=padenot
...
--HG--
extra : transplant_source : %9A%3D%12wAbL%0D%E1%16G%A9%B7%23%A9%16%7F%8C%2B%18
2014-01-07 12:53:47 +13:00
Ehsan Akhgari
60eb19e15a
Bug 884368 - Part 1: Add a memory reporter for AudioContexts; r=roc,njn
2014-01-04 13:15:41 -05:00
Paul Adenot
582729441f
Bug 936784 - Only mute on Shutdown if the AudioContext is not an OfflineAudioContext.
2013-12-18 16:07:37 +01:00
Paul Adenot
9e67190543
Bug 936784 - Don't overbuffer in the MSG on AudioContext shutdown. r=roc,ehsan
2013-12-17 16:15:07 +01:00
Paul Adenot
e3d76f3d34
Bug 932621 - Use fabs instead of abs (forgot to address review comments). r=ehsan
2013-12-16 14:08:22 +01:00
Paul Adenot
4b6fff60a1
Bug 932621 - Make sure the latency does not grow up in ScriptProcessorNode. r=ehsan
2013-12-13 18:21:05 +01:00
Paul Adenot
b31e1049fa
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
f4ddb7d8f9
Backed out changeset 71f9f57e5ddb (bug 949474) for test_bug808374.html failures.
...
CLOSED TREE
2013-12-12 16:05:53 -05:00
Paul Adenot
978e927a0e
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
371ad746eb
Bug 916384 - Stop calling onaudioprocess on the ScriptProcessorNode it has no inputs or outputs. r=roc
...
Quoting the spec: "audioprocess events are only dispatched if the
ScriptProcessorNode has at least one input or one output connected".
--HG--
extra : rebase_source : bbf52a183a55b75d394a885624a4080a9467fac4
2013-12-12 15:31:51 +01:00
Paul Adenot
2d7afabc14
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
45ee5216e9
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
b7e2b9858e
Bug 916384 - Stop calling onaudioprocess on the ScriptProcessorNode if it has no inputs and outputs. r=roc
...
Quoting the spec: "audioprocess events are only dispatched if the
ScriptProcessorNode has at least one input or one output connected".
--HG--
extra : rebase_source : 93881fb4395744dc0adbb6df7ee146ef70ce42d2
2013-12-10 14:41:41 +01:00
Paul Adenot
732a48c7f8
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
Paul Adenot
f56b97b17c
Bug 947910 - Relax the MOZ_ASSERT(mPosition <= mDuration) in case of looping, in AudioBufferSourceNode::CopyFromBufferWithResampling. r=karlt
2013-12-10 14:35:50 +01:00