gecko-dev/dom/media/webaudio
Karl Tomlinson b78f6f2712 bug 1191648 don't create audioprocess event when there is no listener r=padenot
Creating the event added a reference to the ScriptProcessorNode, which wasn't
released until the AudioProcessingEvent was destroyed in
nsCycleCollector::FreeSnowWhite().

If another event is dispatched before cycle collection considers the
ScriptProcessorNode, then the node will not be collected.

Also, the reference count of the ScriptProcessorNode is no longer toggled
because this seemed to interfere with the cycle collection process.

--HG--
extra : rebase_source : 41878e716fe3fcc8f46f518be2a50d050b8ed14c
2015-08-10 12:51:37 +12:00
..
blink bug 1188704 use existing FFTBlock arrays instead of allocating and copying and scaling r=rillian 2015-08-03 09:28:32 +12:00
compiledtest Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
test bug 1184801 Test output of AnalyserNode with GainNode 2015-07-28 11:03:31 +12:00
AlignedTArray.h Bug 1182808 - Part 3: Rename AlignedTArray_Impl to AlignedTArray and remove existing AlignedTArray. r=padenot 2015-07-15 12:58:22 -07:00
AnalyserNode.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
AnalyserNode.h bug 1184801 process AnalyserNode input only when required r=padenot 2015-07-22 19:50:37 +12:00
AudioBuffer.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
AudioBuffer.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioBufferSourceNode.cpp bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot 2015-07-22 17:59:21 +12:00
AudioBufferSourceNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioContext.cpp Bug 1191305 - Alphabetize some includes; r=froydnj 2015-08-06 15:45:21 +03:00
AudioContext.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioDestinationNode.cpp Bug 1190040 - Part 2: Teach the audio channel service how to not notify audio-playback, and do that when a media element has no audio track; r=padenot 2015-08-06 10:26:27 -04:00
AudioDestinationNode.h Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc 2015-07-24 14:28:17 +02:00
AudioEventTimeline.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioListener.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
AudioListener.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioNode.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
AudioNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioNodeEngine.cpp bug 1186781 skip reallocation when audio block is not shared r=padenot 2015-07-22 18:51:11 +12:00
AudioNodeEngine.h bug 1189168 avoid main thread assertion accessing mNode in SizeOfIncludingThis() r=padenot 2015-07-31 12:49:07 +12:00
AudioNodeEngineNEON.cpp
AudioNodeEngineNEON.h
AudioNodeExternalInputStream.cpp bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot 2015-07-22 17:59:21 +12:00
AudioNodeExternalInputStream.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioNodeStream.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
AudioNodeStream.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioParam.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioParam.h Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
AudioParamTimeline.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioProcessingEvent.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioProcessingEvent.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
BiquadFilterNode.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
BiquadFilterNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
BufferDecoder.cpp Bug 1184634 - Rename MediaTaskQueue to TaskQueue. r=gerald 2015-07-16 22:23:06 -07:00
BufferDecoder.h Bug 1184634 - Move various includes into the mozilla namespace. r=gerald 2015-07-16 22:23:18 -07:00
ChannelMergerNode.cpp bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot 2015-07-22 17:59:21 +12:00
ChannelMergerNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ChannelSplitterNode.cpp bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot 2015-07-22 17:59:21 +12:00
ChannelSplitterNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ConvolverNode.cpp bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot 2015-07-22 17:59:21 +12:00
ConvolverNode.h Bug 1159290 - "Add final/override to WebAudio classes". r=padenot 2015-04-28 08:42:00 +02:00
DelayBuffer.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
DelayBuffer.h bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot 2015-07-22 17:59:21 +12:00
DelayNode.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DelayNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DynamicsCompressorNode.cpp bug 914392 use NodeMainThread() to avoid NodeMutex() use on main thread r=padenot 2015-07-14 21:57:01 +12:00
DynamicsCompressorNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
FFTBlock.cpp Bug 926838 - [Part 4] Implement AlignedTArray for 32-byte alignment is required by openmax dl. Also modify callers. r=ehsan 2013-11-13 11:07:31 +08:00
FFTBlock.h bug 1188704 remove now unused PerformInverseFFT() variation r=rillian 2015-07-30 12:51:48 +12:00
GainNode.cpp bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot 2015-07-22 17:59:21 +12:00
GainNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
MediaBufferDecoder.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
MediaBufferDecoder.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
MediaElementAudioSourceNode.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
MediaElementAudioSourceNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
MediaStreamAudioDestinationNode.cpp Bug 1179484 - Pass in the right graph when created the DOMMediaStream. r=roc 2015-07-02 09:30:58 +02:00
MediaStreamAudioDestinationNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
MediaStreamAudioSourceNode.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
MediaStreamAudioSourceNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
moz.build Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe 2015-07-11 14:14:58 +02:00
OfflineAudioCompletionEvent.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
OfflineAudioCompletionEvent.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
OscillatorNode.cpp bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot 2015-07-22 17:59:21 +12:00
OscillatorNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
PannerNode.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
PannerNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
PanningUtils.h bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot 2015-07-22 17:59:21 +12:00
PeriodicWave.cpp Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv 2015-03-19 10:13:33 -04:00
PeriodicWave.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
PlayingRefChangeHandler.h bug 914392 use NodeMainThread() to avoid NodeMutex() use on main thread r=padenot 2015-07-14 21:57:01 +12:00
ReportDecodeResultTask.h Bug 1159290 - "Add final/override to WebAudio classes". r=padenot 2015-04-28 08:42:00 +02:00
ScriptProcessorNode.cpp bug 1191648 don't create audioprocess event when there is no listener r=padenot 2015-08-10 12:51:37 +12:00
ScriptProcessorNode.h bug 1191648 don't keep ScriptProcessorNode alive when it has no audioprocess listener r=padenot 2015-08-06 19:28:10 +12:00
StereoPannerNode.cpp bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot 2015-07-22 17:59:21 +12:00
StereoPannerNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ThreeDPoint.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ThreeDPoint.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
WaveShaperNode.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
WaveShaperNode.h Bug 1186343: Throw an InvalidStateError when we set the curve attribute of a WaveShaperNode with a Float32Array of length less than 2; r=padenot,smaug 2015-07-22 13:32:12 +02:00
WebAudioUtils.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
WebAudioUtils.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00