Commit Graph

1946 Commits

Author SHA1 Message Date
Ehsan Akhgari
df419ab210 Bug 867588 - Remove support for implementing Web Audio nodes which are not connected to the MediaStreams backend; r=roc 2013-05-01 11:09:07 -04:00
Ehsan Akhgari
97fcf715d6 Bug 865234 - Part 9: Avoid variable shadowing in AudioNodeStream::ObtainInputBlock; r=roc 2013-04-30 19:37:58 -04:00
Ehsan Akhgari
40c7bffd01 Bug 865234 - Part 8: Add a test case for channel mixing rules; r=roc 2013-04-30 00:06:04 -04:00
Ehsan Akhgari
28722fca86 Bug 865234 - Part 7: Change the speaker up-mixing and down-mixing rules according to the Web Audio spec; r=roc 2013-04-29 20:15:26 -04:00
Ehsan Akhgari
3a69ee0f88 Bug 865234 - Part 6: Round up the |when| argument AudioBufferSouceNode.start; r=roc
This change is made in order to increase compatibility of the implementation
with what WebKit does.  This helps us in order to be able to compare our
results more closely to WebKit's.
2013-04-29 19:22:49 -04:00
Ehsan Akhgari
1d867d0441 Bug 865234 - Part 5: Don't mark a stream as finished when there are streams following it; r=roc
Without this patch, if we have an AudioBufferSourceNode which is finished, the
nodes following it will not see its mLastChunk.  This breaks the Web Audio
block processing logic since we rely on the assumption that the buffer for the
last output of AudioBufferSourceNode is correctly passed to the following
engines.
2013-04-29 16:58:19 -04:00
Ehsan Akhgari
a61aa7a132 Bug 865234 - Part 4: Implement ChannelInterpretation's effect when mixing inputs; r=roc 2013-04-27 19:52:21 -04:00
Ehsan Akhgari
3995da02e1 Bug 865234 - Part 3: Implement ChannelCountMode's effect when mixing inputs; r=roc 2013-04-27 19:41:52 -04:00
Ehsan Akhgari
9c26dbc68f Bug 865234 - Part 2: Send the channel mixing information to the AudioNodeStream; r=roc 2013-04-27 19:25:23 -04:00
Ehsan Akhgari
a749080ffb Bug 865234 - Part 1: Add DOM bindings for the channel mixing attributes; r=roc 2013-04-27 18:44:50 -04:00
Ehsan Akhgari
febaf4a1a5 Bug 867324 - Make it safe to stop source nodes when shutting down the AudioContext in case the nodes die right away; r=roc
(This time with the correct bug #)
2013-04-30 16:01:39 -04:00
Ehsan Akhgari
23d66661c0 Backed out changeset cace8e8e8556 because of the wrong bug number 2013-05-01 01:15:09 -04:00
Ehsan Akhgari
ffdb7c03e4 Bug 860958 - Make it safe to stop source nodes when shutting down the AudioContext in case the nodes die right away; r=roc 2013-04-30 16:01:39 -04:00
Chris Pearce
3262662a85 Bug 862182 - Revert bug 862183 due to frequent orange in 459439 crashtest. CLOSED TREE. r=philor 2013-05-01 13:33:33 +12:00
Chris Pearce
37aa644c0a Bug 862182 - Hold references to MediaResource in nsRefPtrs (content/media/omx), and fix some omx compiler warnings. r=doublec 2013-05-01 11:23:46 +12:00
Chris Pearce
b5a5314926 Bug 862182 - Hold references to MediaResource in nsRefPtrs (content/media/plugins). r=doublec 2013-05-01 11:23:46 +12:00
Chris Pearce
f7895b7d0b Bug 862182 - Hold references to MediaResource in nsRefPtrs. r=roc 2013-05-01 11:23:46 +12:00
Paul Adenot
fe0d0dac61 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
Paul Adenot
6402233faa Bug 867089 - Validate the playbackRate before using it. r=ehsan
--HG--
extra : rebase_source : 6e4065d4db69cb2d13f7ba5c05fbe9c74db03bf3
2013-04-30 16:04:05 +02:00
Ryan VanderMeulen
97c7feb7b5 Backed out changesets 5447d49a2c6f and ab9c9d0819a2 (bug 867089) for mochitest failures.
CLOSED TREE
2013-04-30 11:16:55 -04:00
Paul Adenot
8c8d0b4eb8 Bug 867089 - Test for invalid playbackRate values on an AudioBufferSourceNode. r=ehsan 2013-04-30 16:04:44 +02:00
Paul Adenot
3d22663645 Bug 867089 - Validate the playbackRate before using it. r=ehsan 2013-04-30 16:04:05 +02:00
Chris Pearce
37662fc2d9 Bug 866664 - Don't call WMFDecoder::IsMP3Enabled() off the main thread. r=padenot 2013-04-30 22:14:18 +12:00
Andrew McCreight
30fedfb95c Bug 866570 - test. r=smaug 2013-04-28 22:38:57 -07:00
Ehsan Akhgari
aa479f73fd Bug 866737 - Unregister PannerNodes when they're unlinked by the cycle collector; r=padenot 2013-04-29 14:06:40 -04:00
Andrew McCreight
6b31bf18b4 Bug 866570 - AudioContext should use its superclass's CC stuff. r=smaug 2013-04-29 06:04:59 -07:00
Ehsan Akhgari
c91f30797b Bug 866442 - Implement BiquadFilterNode.getFrequencyResponse; r=padenot 2013-04-27 16:29:48 -04:00
Ehsan Akhgari
2bdc8e9186 Bug 865246 - Part 5: Implement BiquadFilterNode's processing based on the Blink implementation; r=padenot 2013-04-26 17:49:09 -04:00
Ehsan Akhgari
9eee1965be Bug 865246 - Part 4: Send the changes in the type parameter to the stream; r=padenot 2013-04-26 18:23:52 -04:00
Ehsan Akhgari
c62b64e90c 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
18b36c4ebe Bug 865246 - Part 2: Add the Biquad processing implementation to the build system; r=padenot 2013-04-26 14:48:45 -04:00
Ehsan Akhgari
1b7dd43fa1 Bug 865246 - Part 1: Import the Biquad processing implementation from Blink; r=padenot
The original code was copied from Blink SVN revision 148720.
2013-04-26 14:42:22 -04:00
Ehsan Akhgari
6d602f4c09 Bug 866108 - Part 2: Do not assume that we can always get a script global from the context's window; r=padenot 2013-04-27 18:44:13 -04:00
Ehsan Akhgari
ab2d0bc310 Bug 866108 - Part 1: Don't attempt to dispatch the audioprocess event on a node which has been unlinked by the cycle collector; r=padenot 2013-04-27 15:04:10 -04:00
Ehsan Akhgari
f0797f9f57 Backed out changeset 7c244b521e54 (the investigation patch for bug 866079) 2013-04-27 15:07:29 -04:00
Ehsan Akhgari
7442c4df57 Investigation for bug 866079 - Make the Command class live in the global scope in the hopes of getting better stack traces 2013-04-26 12:02:19 -04:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Ehsan Akhgari
3a048937ab Bug 865550 - Unlink AudioBufferSourceNode members before AudioNode; r=mccr8 2013-04-25 16:52:52 -04:00
Ehsan Akhgari
38f134b992 Bug 859600 - Make AudioContext an EventTarget; r=smaug 2013-04-25 00:28:39 -04:00
Ehsan Akhgari
225ca99bf9 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
Boris Zbarsky
f75142b01d Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Ehsan Akhgari
557ec26e0f Bug 865532 - Don't attempt to stop an AudioBufferSourceNode that doesn't have a context; r=padenot 2013-04-24 22:24:25 -04:00
Ehsan Akhgari
eac64e1821 Bug 865548 - Convert the node arrays in AudioContext to hashsets; r=padenot 2013-04-24 23:32:41 -04:00
Ehsan Akhgari
b6e9710e71 Bug 865004 - Disconnect the AudioNode from the graph before deleting it; r=bzbarsky 2013-04-24 16:57:07 -04:00
Ehsan Akhgari
fcf7078a8e Backed out changeset 089871cdaf1e (bug 865004) because of crashtest leaks on a CLOSED TREE 2013-04-24 16:29:08 -04:00
Ehsan Akhgari
01608e4b32 Bug 865004 - Disconnect the AudioNode from the graph before deleting it; r=bzbarsky 2013-04-24 15:30:19 -04:00
Guilherme Gonçalves
8a0d0df675 Bug 863852 - Part 2 - Handle reentrance in the state machine. r=smaug 2013-04-24 11:09:31 -07:00
Guilherme Gonçalves
aa4dd68d0d Bug 863852 - Part 1 - Log event and state names rather than codes. r=smaug 2013-04-24 11:09:30 -07:00
Guilherme Gonçalves
0d8f7088b9 Bug 863813 - Only call the done function once per test, failure or success. r=smaug 2013-04-24 11:09:30 -07:00
Guilherme Gonçalves
41f280a2ce Bug 858141 - Don't assert on EVENT_AUDIO_ERROR while on STATE_ESTIMATING. r=smaug 2013-04-24 11:09:30 -07:00