Ehsan Akhgari
14175761c2
Bug 869224 - Use the same algorithm to compute the buffer start/end time and to convert AudioParam time values to ticks; r=roc
2013-05-07 23:31:15 -04:00
Ehsan Akhgari
f01f0505d9
Bug 865231 - Implement AudioParam.setValueCurveAtTime; r=roc
2013-05-06 19:50:45 -04:00
Ehsan Akhgari
c3c3b0028e
Bug 868864 - Correctly scale the time values of AudioParam when converting it to ticks, and correctly calculate SetTargetAtTime event values the first time they're encountered; r=roc
2013-05-06 14:59:43 -04:00
Ehsan Akhgari
ed4c312d3e
Bug 868855 - Respect the input's volume in ChannelMergerNode and ChannelSplitterNode; r=roc
2013-05-06 14:30:47 -04:00
Ehsan Akhgari
98bbd68e08
Bug 865233 - Implement the ended event for AudioBufferSourceNode; r=roc
2013-05-06 14:22:01 -04:00
Ehsan Akhgari
d737c31ab8
Bug 867174 - Part 2: Protect against invalid sample rates a bit harder; r=padenot
2013-05-06 11:34:03 -04:00
Ehsan Akhgari
46cad293b8
Bug 865248 - Implement ChannelMergerNode; r=roc
...
--HG--
rename : content/media/webaudio/ChannelSplitterNode.h => content/media/webaudio/ChannelMergerNode.h
2013-05-05 11:49:37 -04:00
Ehsan Akhgari
5b8b3eb487
Bug 865247 - Part 4: Implement ChannelSplitterNode; r=roc
2013-05-05 11:49:13 -04:00
Ehsan Akhgari
8d0e9d56f7
Bug 868485 - Part 2: Add test cases for createBuffer with mono downmixing; r=roc
2013-05-05 11:16:23 -04:00
James Willcox
8a604ee1de
Bug 848652 - Implement ArrayBuffer version of AudioContext.createBuffer r=ehsan
...
--HG--
rename : content/media/webaudio/test/test_decodeAudioData.html => content/media/webaudio/test/test_mediaDecoding.html
2013-05-03 16:42:28 -04:00
Matt Brubeck
4a49b819a3
Back out changeset 1a0f522cf110 (bug 848652) because of assertion failures in MediaBufferDecoder.cpp
...
CLOSED TREE
--HG--
rename : content/media/webaudio/test/test_mediaDecoding.html => content/media/webaudio/test/test_decodeAudioData.html
2013-05-03 15:18:06 -07:00
James Willcox
ef70532696
# ebe5edd8c0ac367c043437a674d4200cf4525757
...
Bug 848652 - Implement ArrayBuffer version of AudioContext.createBuffer r=ehsan
--HG--
rename : content/media/webaudio/test/test_decodeAudioData.html => content/media/webaudio/test/test_mediaDecoding.html
extra : rebase_source : 7b0926091743dd6cd17a0adee9a6d3c5181dfa4d
2013-05-03 16:42:28 -04:00
Ehsan Akhgari
b396c375d9
Bug 867876 - Add some tests for the AudioParam automation events; r=roc
2013-05-02 01:13:27 -04:00
Ehsan Akhgari
c9ce04d576
Bug 867203 - Part 1: Unregister AudioBufferSourceNodes from PannerNodes when they die; r=padenot
...
--HG--
extra : rebase_source : 3c580a0feba39d01779a91e6bd10a10d98cb7114
2013-04-30 19:20:55 -04:00
Ehsan Akhgari
263ccfd864
Bug 866434 - Part 4: Add a test case for connecting an AudioNode to an AudioParam; r=roc
2013-05-01 23:13:43 -04:00
Ed Morley
8cfe90523b
Backed out changeset 9351bfd9d8c5 (bug 867174)
2013-05-03 09:20:05 +01:00
Ed Morley
e9207d2323
Backed out changeset 85ec6c943147 (bug 867876)
2013-05-03 09:20:01 +01:00
Ed Morley
275a93e3f3
Backed out changeset b342f87552a3 (bug 865642)
2013-05-03 09:19:58 +01:00
Ed Morley
359ab0de6f
Backed out changeset 3cadad39da66 (bug 868116)
2013-05-03 09:19:55 +01:00
Ed Morley
74cc32e1ba
Backed out changeset 93602e7a1551 (bug 865642)
2013-05-03 09:19:52 +01:00
Ed Morley
09a97ad595
Backed out changeset da92f0c44e91 (bug 867980)
2013-05-03 09:19:49 +01:00
Ed Morley
8644a275d4
Backed out changeset 6402e13dc9ba (bug 865642)
2013-05-03 09:19:46 +01:00
Ed Morley
d1a7b75684
Backed out changeset b66017604bdd (bug 867203)
2013-05-03 09:19:43 +01:00
Ehsan Akhgari
33a92bcb9b
Bug 867203 - Part 1: Unregister AudioBufferSourceNodes from PannerNodes when they die; r=padenot
...
--HG--
extra : rebase_source : e4aca1ebb975e04e8821df0377ee652e18755ed7
2013-04-30 19:20:55 -04:00
Ryan VanderMeulen
6599a4f628
Bug 865642 - Disable more tests on Android.
2013-05-02 23:59:31 -04:00
Ryan VanderMeulen
43b2d21d1b
Bug 867980 - Disable test on Android due to frequent timeouts.
2013-05-02 21:25:38 -04:00
Ryan VanderMeulen
67bdfbb473
Bug 865642 - Disable tests on Android due to frequent timeouts.
2013-05-02 21:24:17 -04:00
Ryan VanderMeulen
850b69a548
Bug 868116 - Disable test on Android due to being perma-orange.
2013-05-02 15:39:40 -04:00
Ehsan Akhgari
1d93351afa
Bug 865642 - Disable test_bug867174.html on Android
2013-05-02 12:03:49 -04:00
Ehsan Akhgari
486a935da3
Bug 867876 - Add some tests for the AudioParam automation events; r=roc
2013-05-02 01:13:27 -04:00
Ehsan Akhgari
22409bc0d8
Bug 867174 - Part 2: Protect against invalid sample rates a bit harder; r=padenot
2013-04-30 16:37:23 -04:00
Ehsan Akhgari
8b9fddb71c
Bug 867511 - Part 1: Use ScriptProcessorNode's input channel count when buffering input; r=roc
2013-05-01 15:10:45 -04:00
Ehsan Akhgari
66a7c4f50c
Bug 865234 - Part 8: Add a test case for channel mixing rules; r=roc
2013-04-30 00:06:04 -04:00
Ehsan Akhgari
b040e0542f
Bug 865234 - Part 1: Add DOM bindings for the channel mixing attributes; r=roc
2013-04-27 18:44:50 -04:00
Paul Adenot
af4a66883d
Bug 867089 - Test for invalid playbackRate values on an AudioBufferSourceNode. r=ehsan
...
--HG--
extra : rebase_source : 215d7cbe21144a3ed2a0642e49f10c4f10d1d66a
2013-04-30 16:04:44 +02:00
Ryan VanderMeulen
c5152229c0
Backed out changesets 5447d49a2c6f and ab9c9d0819a2 (bug 867089) for mochitest failures.
...
CLOSED TREE
2013-04-30 11:16:55 -04:00
Paul Adenot
c818e7f6de
Bug 867089 - Test for invalid playbackRate values on an AudioBufferSourceNode. r=ehsan
2013-04-30 16:04:44 +02:00
Andrew McCreight
e029c07191
Bug 866570 - test. r=smaug
2013-04-28 22:38:57 -07:00
Ehsan Akhgari
ccdd0677b0
Bug 866737 - Unregister PannerNodes when they're unlinked by the cycle collector; r=padenot
2013-04-29 14:06:40 -04:00
Ehsan Akhgari
eda009ba04
Bug 865246 - Part 3: Update the BiquadFilterNode IDL to match the current spec; r=padenot
2013-04-26 17:11:23 -04:00
Ehsan Akhgari
f536477e52
Bug 859600 - Make AudioContext an EventTarget; r=smaug
2013-04-25 00:28:39 -04:00
Ehsan Akhgari
334dac4952
Bug 865650 - Ensure that looping will only happen if the start offset is less than the end offset; r=padenot
...
--HG--
extra : rebase_source : 3de31185083df174f7b6e823d1a135aee39c211d
2013-04-25 09:34:47 -04:00
Paul Adenot
9dda4e73fa
Bug 864164 followup - Also send the params to the stream when setting the buffer. r=ehsan
2013-04-23 17:42:40 +02:00
Ehsan Akhgari
5faff9a565
Bug 864164 - Part 2: Send the AudioBufferSourceNode buffer parameter changes to the stream; r=padenot
2013-04-22 17:01:22 -04:00
Ehsan Akhgari
27a0b514b9
Bug 864605 - Take the input chunk's volume into account in the nodes that buffer their input; r=padenot
...
--HG--
extra : rebase_source : 7590e20cbb1ac347f3988aaa5dbc586012747221
2013-04-22 21:59:51 -04:00
Ehsan Akhgari
37d21d30ca
Bug 864164 - Part 1: Send the AudioBufferSourceNode loop parameter changes to the stream; r=padenot
2013-04-22 00:22:33 -04:00
Ehsan Akhgari
5dc9f3b37e
Bug 834513 - Part 4: Add tests for ScriptProcessorNode, and also test AudioBufferSourceNode using it; r=roc
2013-04-20 11:17:58 -04:00
Ehsan Akhgari
848d2fc00a
Bug 853298 - Part 2: Make AudioNode an EventTarget; r=smaug
2013-04-12 11:28:33 -04:00
Ehsan Akhgari
04873bf8ec
Bug 859595 - Implement the alternate names for AudioBufferSourceNode, AudioContext and AudioParam; r=bzbarsky
...
Let this be mentioned in our code base history that I wrote this patch
with tears in my eyes. This is the saddest thing I've ever had to do to
Gecko. :(
--HG--
extra : rebase_source : 798e5b1dc8af51a399189dd05bc59ac077670820
2013-04-11 22:08:05 -04:00
Ehsan Akhgari
0ec2e66722
Bug 859597 - Narrow down the acceptable range for AnalyserNode.fftSize; r=padenot
2013-04-08 21:26:08 -04:00
Ehsan Akhgari
7304bd7736
Bug 859602 - Remove AudioParam.minValue/maxValue; r=bzbarsky
2013-04-08 21:57:54 -04:00
Ehsan Akhgari
20bf730bff
Bug 856771 - Protect the source buffer nodes from leaking when their binding goes away without being played back; r=roc
2013-04-01 16:06:55 -04:00
Ehsan Akhgari
28ce05cf89
Bug 855990 - Part 1: Implement the DOM bindings to AnalyserNode; r=bzbarsky
2013-03-31 23:41:14 -04:00
Ehsan Akhgari
99e9635eee
Backed out changeset 81bad314826a (bug 855990) because of build bustage
2013-04-01 18:41:30 -04:00
Ehsan Akhgari
f89c6909de
Bug 855990 - Part 1: Implement the DOM bindings to AnalyserNode; r=bzbarsky
2013-03-31 23:41:14 -04:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Ehsan Akhgari
a01b9d645e
Bug 854741 - Change the parameter to createDelay to be in seconds, not minutes; r=roc
2013-03-25 15:44:14 -04:00
Ehsan Akhgari
f2d00f14f9
Bug 849230 follow-up: Fix expectException to actually check the exception code, and don't use imaginary DOMException names!
...
--HG--
extra : rebase_source : df53ddca50487bfc10676fd43e98abb949a2c298
2013-03-22 19:57:08 -04:00
Ehsan Akhgari
efeba2e207
Bug 851603 - Enable Web Audio in Nightly; r=roc
...
--HG--
extra : rebase_source : b79d7f2cb0e6257eae2f65bd8637f718324b43f4
2013-03-16 01:35:22 -04:00
Ehsan Akhgari
da293697f1
Bug 851338 - Implement AudioContext.currentTime; r=roc
2013-03-14 21:01:02 -04:00
Ehsan Akhgari
636ad2fd16
Backed out changeset 6a23d4536079 (bug 851338) because of Android test failures
2013-03-15 01:26:22 -04:00
Ehsan Akhgari
4025fd2d19
Bug 851338 - Implement AudioContext.currentTime; r=roc
...
Landed on a CLOSED TREE, because I'm mad at X11!
2013-03-14 21:01:02 -04:00
Ehsan Akhgari
b68208c0b9
Backed out changeset a96fb85d42bf (bug 851338) because of Linux build failures
...
Landed on a CLOSED TREE
2013-03-14 23:53:27 -04:00
Ehsan Akhgari
30769cc4e2
Bug 851338 - Implement AudioContext.currentTime; r=roc
...
--HG--
extra : rebase_source : 064da119e26ca15e361c003a4fabe7d3fe77e256
2013-03-14 21:01:02 -04:00
Ehsan Akhgari
1021312f2f
Bug 849713 - Part 1: Add DOM bindings for AudioBufferSourceNode loop attributes; r=roc
2013-03-10 12:56:14 -04:00
Ehsan Akhgari
c911360a9e
Bug 849914 - Implement the latest spec changes to PannerNode and AudioListener; r=roc
2013-03-11 19:09:27 -04:00
Ehsan Akhgari
99d22150ac
Backed out 4 changesets (bug 849713) since builds fail because of warnings as errors
...
Backed out changeset e811d4258d45 (bug 849713)
Backed out changeset 26aa58e87d5d (bug 849713)
Backed out changeset 9a6552161eff (bug 849713)
Backed out changeset 3551877d9b92 (bug 849713)
Landing on a CLOSED TREE
2013-03-11 16:14:42 -04:00
Ehsan Akhgari
e39bc33233
Bug 849713 - Part 1: Add DOM bindings for AudioBufferSourceNode loop attributes; r=roc
2013-03-10 12:56:14 -04:00
Ehsan Akhgari
f3584f29e9
Bug 849106 - Adjust the fuzz tolerance value for small-shot.ogg on mobile
2013-03-08 13:07:21 -05:00
Ehsan Akhgari
422eb58946
Bug 849230 - Limit the range of sample rates accepted by AudioContext.createBuffer according to the spec; r=padenot
2013-03-08 12:29:00 -05:00
Ehsan Akhgari
f1162f8a7e
Bug 846329 - Fix decodeAudioData to decode all channels and not only the first one; r=padenot
2013-03-04 21:27:13 -05:00
Ehsan Akhgari
766db4d452
Bug 845960 - Fix a crash resulted from a missing nullcheck for the optional failure callback of decodeAudioData; r=bzbarsky
2013-03-04 23:04:51 -05:00
Ehsan Akhgari
9fdf2c4139
Bug 838065 - Re-enable the decodeAudioData tests; r=roc
2013-02-27 16:59:46 -05:00
Gregory Szorc
aa0fed2e03
Bug 784841 - Part 18g: Convert /content; r=glandium
2013-02-25 12:47:19 -08:00
Andrew McCreight
8fb2f37eed
Bug 839753 - Fix up CC implementation for AudioDestinationNode. r=smaug
2013-02-12 08:42:59 -08:00
Ehsan Akhgari
1bf3a44ce2
Bug 804387. Part 11: Fix testcase to expect correct sample rate. r=roc
...
--HG--
extra : rebase_source : aabab48ccaa6cbfacc2d22a425574d6e5b4109ee
2013-01-25 16:44:28 -05:00
Robert O'Callahan
945784894e
Bug 804387. Part 7.5: Make Web Audio tests context-rate-independent (disabling some decodeAudioData tests). r=ehsan
...
--HG--
extra : rebase_source : c625c50a08da1871e79851c2a824b0e3ea170eba
2013-02-05 10:57:36 +13:00
Ehsan Akhgari
631b308649
Backed out 14 changesets (bug 804387) because of Android M2 crashes
...
Backed out changeset 80e8530f06ea (bug 804387)
Backed out changeset 3de2271ad47f (bug 804387)
Backed out changeset 00f86870931c (bug 804837)
Backed out changeset 0e3f20927c50 (bug 804387)
Backed out changeset e6ef90038007 (bug 804387)
Backed out changeset 0ad6f67a95f9 (bug 804387)
Backed out changeset d0772aba503c (bug 804387)
Backed out changeset 5477b87ff03e (bug 804387)
Backed out changeset 1d7ec5adc49f (bug 804387)
Backed out changeset 11f4d740cd6c (bug 804387)
Backed out changeset e6254d8997ab (bug 804387)
Backed out changeset 372322f3264d (bug 804387)
Backed out changeset 53d5ed687612 (bug 804387)
Backed out changeset 000b88ac40a7 (bug 804387)
2013-02-05 01:29:28 -05:00
Ehsan Akhgari
52b9fcea54
Bug 804387. Part 11: Fix testcase to expect correct sample rate. r=roc
2013-01-25 16:44:28 -05:00
Robert O'Callahan
6cc145cc76
Bug 804387. Part 7.5: Make Web Audio tests context-rate-independent (disabling some decodeAudioData tests). r=ehsan
2013-02-05 10:57:36 +13:00
Ehsan Akhgari
1090ae9f96
Bug 792263 - Implement decodeAudioData; r=bzbarsky,cpearce,padenot
2013-02-01 17:13:23 -05:00
Robert O'Callahan
fc44cd635c
Bug 804837. Part 0: Rework the connection and input/output port logic for Web Audio nodes; r=ehsan
...
Here's what this patch does:
-- Makes AudioNodes mostly not use nsWrapperCache. AudioDestinationNode
still does.
-- Rename MaxNumberOfInputs/Outputs to NumberOfInputs/Outputs, and have them
default to 1 in AudioNode.
-- Allow any number of nodes to be connected to any given input/output port.
2013-01-23 19:50:18 -05:00
Ehsan Akhgari
16e89b722a
Bug 833631 - Unprefix mozAudioContext; r=roc
...
--HG--
extra : rebase_source : 3c477a97ea842a806f6fad6f5c3a81d6e50b27c3
2013-01-22 20:12:21 -05:00
Ehsan Akhgari
3c00b9a104
Bug 827541 follow-up: Make sure that the test case actually instantiates an AudioContext object the first time, as opposed to just access the constructor function through a property access
2013-01-15 01:15:25 -05:00
Andrew McCreight
e8316cb0be
Bug 827541 - Traverse/Unlink nsGlobalWindow::mAudioContexts. r=ehsan
2013-01-14 15:22:00 -08:00
Ehsan Akhgari
f2c331d256
Bug 816828 - Implement AudioContext.sampleRate; r=bzbarsky
2012-11-29 22:31:39 -05:00
Boris Zbarsky
67bc51cf16
Bug 767933 part 4. Make 'float' and 'double' types throw on non-finite values. r=khuey,ehsan,bas
2012-11-27 15:32:05 -05:00
Ehsan Akhgari
8dc074cef8
Bug 812390 - Protect against NaN in AudioContext.createDelay; r=bzbarsky
2012-11-15 17:48:04 -08:00
Ehsan Akhgari
bb1d6972af
Bug 811864 - Remove PannerNode.coneGain/distanceGain; r=bzbarsky
2012-11-14 13:03:24 -08:00
Ehsan Akhgari
d6aa3be16d
Bug 811555 - Make AudioContext.createDelay not accept arguments greater than or equal to 3; r=bzbarsky
...
--HG--
extra : rebase_source : 5ad2006acb9c27ba7f94c0d1858a19d71cc663c4
2012-11-13 16:46:25 -08:00
Ehsan Akhgari
5c3198f30a
Bug 809882 - Disallow non-positive arguments to AudioContext.createDelay; r=bzbarsky
2012-11-08 13:17:22 -05:00
Ehsan Akhgari
5114440464
Add the missing file for the test in bug 809654
2012-11-08 09:33:12 -05:00
Ehsan Akhgari
19a5f2cb0b
Bug 809654 - Implement BiquadFilterNode; r=bzbarsky
2012-11-07 20:59:14 -05:00
Ehsan Akhgari
8426704b9f
Bug 809271 - Implement DynamicsCompressorNode; r=bzbarsky
2012-11-06 20:01:11 -05:00
Ehsan Akhgari
5a4f074522
Bug 808876 - Part 1: Implement PannerNode; r=bzbarsky
...
--HG--
extra : rebase_source : a7b901dcc7758ff9c7a8917a956d0541187fea07
2012-11-05 21:14:13 -05:00
Ehsan Akhgari
3bcb2b8761
Backed out changeset ecf0c2a7cb9f (bug 808876) for build bustage
2012-11-05 22:30:08 -05:00
Ehsan Akhgari
ad84bd3d7f
Bug 808876 - Implement PannerNode; r=bzbarsky
2012-11-05 21:14:13 -05:00
Ehsan Akhgari
448c1c4497
Bug 808841 - Implement AudioContext.listener; r=bzbarsky
2012-11-05 19:26:03 -05:00
Ehsan Akhgari
972faa6f3c
Bug 808374 - Balance holding and dropping the JS object references for AudioBuffers initialized with 0 channels; r=mmcr8
2012-11-05 13:49:35 -05:00
Ehsan Akhgari
41f9f14161
Bug 807533 - Implement DelayNode; r=bzbarsky
...
--HG--
extra : rebase_source : 36bb70c9f4b9c86fc1564447a34153d92fe7f347
2012-10-31 20:26:03 -04:00
Ehsan Akhgari
8ba6137c34
Bug 807526 - Implement GainNode; r=bzbarsky
2012-10-31 15:09:32 -04:00
Ehsan Akhgari
482a4e003a
Bug 797150 - Rename AudioBufferSourceNode's noteOn and noteOff to start/stop; r=bzbarsky
2012-10-02 18:15:33 -04:00
Ehsan Akhgari
707fdff5de
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
697bec41a5
Bug 793294 - Implement AudioBuffer; r=bzbarsky,smaug
...
This is the full implementation of the AudioBuffer object. There are
two ways to create these objects from an audio context and this patch
implements only one of them.
The construction of the AudioBuffer object is a two step process: the
object should be created with operator new first, and then
InitializeBuffers should be called on it. InitializeBuffers is
fallible, because it uses the JS API to create the underlying typed
arrays, but that's fine, since the length of the buffers comes from web
content, and we don't want to use infallible allocations for those
anyways.
We hold on to the JS objects from the C++ implementation, and trace
through all of those objects, so that a GC does not kill those object
without us knowing.
The buffer should be possible to manipulate from both C++ and JS, and
the C++ object probably needs to support a set of methods for the C++
callers at some point.
2012-09-25 17:58:50 -04:00
Ehsan Akhgari
06ee07ffb8
Bug 788310 - Hide mozAudioContext behind a pref; r=bzbarsky
2012-09-07 18:13:26 -04:00
Ehsan Akhgari
d0afe916e7
Bug 775302 - Stub out the implementation of mozAudioContext; r=bzbarsky,khuey
2012-08-31 16:59:37 -04:00