gecko-dev/dom/media/webaudio
Bryce Van Dyk da98dea96a Bug 1436523 - Update dom/media/tests/mochitest tests to better handle loopback devices. r=achronop
With changes giving loopback devices higher precedence in testing, various tests
in dom/media/tests/mochitest have been updated to accommodate this. Many tests
just worked, but some require tweaks, or to explicitly request fake devices.

Also update webaudio's test_mediaStreamAudioSourceNodeGC test to explicitly use
fake devices. This test does not have the loopback tone exposed to it in JS, so
is unabel to adjust the loopback tone to suit its needs.

Various tests are updated to set fake device prefs instead of requesting via
gUM to move away from non-standard behaviour per bug 1436424.

MozReview-Commit-ID: 5GAVZFzF2hq

--HG--
extra : rebase_source : 27f39e3573eda321025ce0739e1d5f4101fc5d12
2018-02-26 12:20:40 -05:00
..
blink Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan 2018-03-16 14:29:15 +01:00
gtest
test Bug 1436523 - Update dom/media/tests/mochitest tests to better handle loopback devices. r=achronop 2018-02-26 12:20:40 -05:00
AlignedTArray.h
AlignmentUtils.h
AnalyserNode.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
AnalyserNode.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
AudioBlock.cpp bug 1394341 replace xmalloc with operator new(size_t) to match AudioBlock deallocation in delete r=padenot 2017-08-30 12:17:07 +12:00
AudioBlock.h bug 1172979 use AutoTArray for AudioChunk::mChannelData to reduce allocations r=padenot 2017-08-11 11:54:36 +12:00
AudioBuffer.cpp bug 1404220 reset mBufferFormat (and mVolume) when resetting mSharedChannels r=padenot 2017-10-09 16:56:55 +13:00
AudioBuffer.h bug 1391482 add a method to create an AudioBuffer from AudioChunk data r=padenot 2017-08-16 17:45:48 +12:00
AudioBufferSourceNode.cpp bug 1391482 accept int16_t sample buffers in AudioBufferSourceNode r=padenot 2017-08-10 17:26:40 +12:00
AudioBufferSourceNode.h Bug 1436263 - Part 1: Replace final override virtual function specifiers with just final. r=froydnj 2018-02-05 22:46:57 -08:00
AudioContext.cpp Bug 1440195 Add a random context seed for AudioContext and MediaStream r=baku 2018-03-01 11:00:12 -06:00
AudioContext.h Bug 1440195 Add a random context seed for AudioContext and MediaStream r=baku 2018-03-01 11:00:12 -06:00
AudioDestinationNode.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
AudioDestinationNode.h Bug 1436263 - Part 1: Replace final override virtual function specifiers with just final. r=froydnj 2018-02-05 22:46:57 -08:00
AudioEventTimeline.cpp bug 1409622 initialize mTime even in Stream AudioTimelineEvents r=padenot 2017-11-07 13:14:22 +13:00
AudioEventTimeline.h
AudioListener.cpp
AudioListener.h
AudioNode.cpp Bug 1443224 - Throw correct exceptions when trying to set the channelCount, the channelCountMode and the channelInterpretation on a ChannelSplitterNode. r=baku 2018-03-09 15:22:44 +01:00
AudioNode.h Bug 1443224 - Throw correct exceptions when trying to set the channelCount, the channelCountMode and the channelInterpretation on a ChannelSplitterNode. r=baku 2018-03-09 15:22:44 +01:00
AudioNodeEngine.cpp bug 1389638 use correct input elements for summing squares of trailing unaligned input r=dminor 2017-08-11 23:42:46 +12:00
AudioNodeEngine.h bug 1391482 remove now-unused ThreadSharedFloatArrayBufferList SetBuffer() variant r=padenot 2017-08-10 17:49:38 +12:00
AudioNodeEngineNEON.cpp
AudioNodeEngineNEON.h
AudioNodeEngineSSE2.cpp
AudioNodeEngineSSE2.h
AudioNodeExternalInputStream.cpp
AudioNodeExternalInputStream.h
AudioNodeStream.cpp Bug 1296531 - Make AudioNodeStream work with track listeners. r=padenot 2016-11-17 10:19:12 +01:00
AudioNodeStream.h bug 1391482 remove now-unused ThreadSharedFloatArrayBufferList SetBuffer() variant r=padenot 2017-08-10 17:49:38 +12:00
AudioParam.cpp
AudioParam.h
AudioParamTimeline.h
AudioProcessingEvent.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
AudioProcessingEvent.h Bug 1446527 part 7. Remove the various NS_FORWARD_TO_EVENT bits. r=qdot 2018-03-26 14:53:03 -04:00
AudioScheduledSourceNode.cpp
AudioScheduledSourceNode.h
BiquadFilterNode.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
BiquadFilterNode.h
ChannelMergerNode.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
ChannelMergerNode.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
ChannelSplitterNode.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
ChannelSplitterNode.h Bug 1443224 - Throw correct exceptions when trying to set the channelCount, the channelCountMode and the channelInterpretation on a ChannelSplitterNode. r=baku 2018-03-09 15:22:44 +01:00
ConstantSourceNode.cpp Backed out changeset f7b7bdd7b05c (bug 1413256) for web-platform-tests on constant-source-basic.html. r=backout on a CLOSED TREE 2017-11-23 19:53:53 +02:00
ConstantSourceNode.h Bug 1436263 - Part 1: Replace final override virtual function specifiers with just final. r=froydnj 2018-02-05 22:46:57 -08:00
ConvolverNode.cpp Bug 1443228 - Make the ConvolverNode ctor throw NotSupportedError when passed a buffer with an invalid channel count. r=karlt 2018-03-08 11:23:45 +01:00
ConvolverNode.h
DelayBuffer.cpp Bug 1441500 - Remove smoothing of the delayTime parameter. r=karlt 2018-02-27 12:59:25 +01:00
DelayBuffer.h Bug 1441500 - Remove smoothing of the delayTime parameter. r=karlt 2018-02-27 12:59:25 +01:00
DelayNode.cpp Bug 1441500 - Remove smoothing of the delayTime parameter. r=karlt 2018-02-27 12:59:25 +01:00
DelayNode.h
DynamicsCompressorNode.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
DynamicsCompressorNode.h
FFTBlock.cpp
FFTBlock.h
GainNode.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
GainNode.h
IIRFilterNode.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
IIRFilterNode.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
MediaBufferDecoder.cpp Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
MediaBufferDecoder.h Bug 1326003 - Remove dead code: WebAudioDecodeJob::mContentType. r=padenot 2017-09-29 16:02:43 +02:00
MediaElementAudioSourceNode.cpp
MediaElementAudioSourceNode.h
MediaStreamAudioDestinationNode.cpp Bug 1299515 - Plumb MediaStreamTrack enabled state to sources. r=jib 2017-11-10 15:55:42 +01:00
MediaStreamAudioDestinationNode.h Bug 1436263 - Part 1: Replace final override virtual function specifiers with just final. r=froydnj 2018-02-05 22:46:57 -08:00
MediaStreamAudioSourceNode.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
MediaStreamAudioSourceNode.h
moz.build Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
OscillatorNode.cpp bug 1391482 keep custom oscillator data buffer on graph thread only long enough to initialize the PeriodicWave r=padenot 2017-08-10 21:03:59 +12:00
OscillatorNode.h Bug 1436263 - Part 1: Replace final override virtual function specifiers with just final. r=froydnj 2018-02-05 22:46:57 -08:00
PannerNode.cpp Bug 1436096 - PannerNode noop optimization for equal power is valid on stereo source. r=padenot 2018-03-02 20:47:34 +02:00
PannerNode.h
PanningUtils.h
PeriodicWave.cpp bug 1391482 use AudioChunk to store and pass PeriodicWave data to engine r=padenot 2017-08-10 20:26:20 +12:00
PeriodicWave.h bug 1391482 use AudioChunk to store and pass PeriodicWave data to engine r=padenot 2017-08-10 20:26:20 +12:00
PlayingRefChangeHandler.h
ReportDecodeResultTask.h
ScriptProcessorNode.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
ScriptProcessorNode.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
StereoPannerNode.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
StereoPannerNode.h
ThreeDPoint.cpp
ThreeDPoint.h
WaveShaperNode.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
WaveShaperNode.h
WebAudioUtils.cpp
WebAudioUtils.h Bug 1441500 - Remove smoothing of the delayTime parameter. r=karlt 2018-02-27 12:59:25 +01:00