summaryrefslogtreecommitdiffstats
path: root/dom/media/webaudio
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-22 18:53:58 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-26 10:18:59 +0200
commit8ff6e8c8a2200db8307c158ce65d16e29abd3418 (patch)
tree4e46f40e1424c5a195eb3eaf594d653a28728797 /dom/media/webaudio
parent3652cd0f998b0499c3ed1d03d2042bbaf69e0699 (diff)
downloadUXP-8ff6e8c8a2200db8307c158ce65d16e29abd3418.tar
UXP-8ff6e8c8a2200db8307c158ce65d16e29abd3418.tar.gz
UXP-8ff6e8c8a2200db8307c158ce65d16e29abd3418.tar.lz
UXP-8ff6e8c8a2200db8307c158ce65d16e29abd3418.tar.xz
UXP-8ff6e8c8a2200db8307c158ce65d16e29abd3418.zip
Issue #80 - De-unify dom/media part 3
Excluding /dom/media/webrtc for bad template use: MediaTrackConstraints.cpp/h MediaEngineCameraVideoSource.cpp and MediaEngineRemoteVideoSource.cpp
Diffstat (limited to 'dom/media/webaudio')
-rwxr-xr-xdom/media/webaudio/AudioContext.cpp1
-rw-r--r--dom/media/webaudio/AudioDestinationNode.cpp1
-rw-r--r--dom/media/webaudio/AudioEventTimeline.h1
-rw-r--r--dom/media/webaudio/AudioNodeEngine.cpp1
-rw-r--r--dom/media/webaudio/AudioNodeStream.cpp1
-rw-r--r--dom/media/webaudio/ConstantSourceNode.cpp2
-rw-r--r--dom/media/webaudio/DelayBuffer.h1
-rw-r--r--dom/media/webaudio/IIRFilterNode.cpp6
-rw-r--r--dom/media/webaudio/MediaBufferDecoder.cpp1
-rw-r--r--dom/media/webaudio/MediaStreamAudioSourceNode.cpp2
-rw-r--r--dom/media/webaudio/WebAudioUtils.cpp1
-rw-r--r--dom/media/webaudio/moz.build2
12 files changed, 19 insertions, 1 deletions
diff --git a/dom/media/webaudio/AudioContext.cpp b/dom/media/webaudio/AudioContext.cpp
index d58441309..75f57a630 100755
--- a/dom/media/webaudio/AudioContext.cpp
+++ b/dom/media/webaudio/AudioContext.cpp
@@ -22,6 +22,7 @@
#include "AudioChannelService.h"
#include "AudioDestinationNode.h"
#include "AudioListener.h"
+#include "AudioNodeStream.h"
#include "AudioStream.h"
#include "BiquadFilterNode.h"
#include "ChannelMergerNode.h"
diff --git a/dom/media/webaudio/AudioDestinationNode.cpp b/dom/media/webaudio/AudioDestinationNode.cpp
index 29a9de736..f23eb0377 100644
--- a/dom/media/webaudio/AudioDestinationNode.cpp
+++ b/dom/media/webaudio/AudioDestinationNode.cpp
@@ -7,6 +7,7 @@
#include "AudioDestinationNode.h"
#include "AlignmentUtils.h"
#include "AudioContext.h"
+#include "mozilla/dom/AudioContextBinding.h"
#include "mozilla/dom/AudioDestinationNodeBinding.h"
#include "mozilla/dom/ScriptSettings.h"
#include "mozilla/Services.h"
diff --git a/dom/media/webaudio/AudioEventTimeline.h b/dom/media/webaudio/AudioEventTimeline.h
index ae06ad4db..ba6da56a3 100644
--- a/dom/media/webaudio/AudioEventTimeline.h
+++ b/dom/media/webaudio/AudioEventTimeline.h
@@ -13,6 +13,7 @@
#include "mozilla/PodOperations.h"
#include "MainThreadUtils.h"
+#include "MediaStreamGraph.h"
#include "nsTArray.h"
#include "math.h"
#include "WebAudioUtils.h"
diff --git a/dom/media/webaudio/AudioNodeEngine.cpp b/dom/media/webaudio/AudioNodeEngine.cpp
index 91170adb3..89eefef31 100644
--- a/dom/media/webaudio/AudioNodeEngine.cpp
+++ b/dom/media/webaudio/AudioNodeEngine.cpp
@@ -14,6 +14,7 @@
#include "AlignmentUtils.h"
#include "AudioNodeEngineSSE2.h"
#endif
+#include "AudioBlock.h"
namespace mozilla {
diff --git a/dom/media/webaudio/AudioNodeStream.cpp b/dom/media/webaudio/AudioNodeStream.cpp
index 0e5aa3fc7..ba002b70e 100644
--- a/dom/media/webaudio/AudioNodeStream.cpp
+++ b/dom/media/webaudio/AudioNodeStream.cpp
@@ -5,6 +5,7 @@
#include "AudioNodeStream.h"
+#include "AlignmentUtils.h"
#include "MediaStreamGraphImpl.h"
#include "MediaStreamListener.h"
#include "AudioNodeEngine.h"
diff --git a/dom/media/webaudio/ConstantSourceNode.cpp b/dom/media/webaudio/ConstantSourceNode.cpp
index b6884105c..8b9df7c89 100644
--- a/dom/media/webaudio/ConstantSourceNode.cpp
+++ b/dom/media/webaudio/ConstantSourceNode.cpp
@@ -7,6 +7,8 @@
#include "ConstantSourceNode.h"
#include "AudioDestinationNode.h"
+#include "AudioNodeEngine.h"
+#include "AudioNodeStream.h"
#include "nsContentUtils.h"
namespace mozilla {
diff --git a/dom/media/webaudio/DelayBuffer.h b/dom/media/webaudio/DelayBuffer.h
index e55d0ba83..e6c9434bf 100644
--- a/dom/media/webaudio/DelayBuffer.h
+++ b/dom/media/webaudio/DelayBuffer.h
@@ -8,6 +8,7 @@
#define DelayBuffer_h_
#include "nsTArray.h"
+#include "AudioBlock.h"
#include "AudioSegment.h"
#include "mozilla/dom/AudioNodeBinding.h" // for ChannelInterpretation
diff --git a/dom/media/webaudio/IIRFilterNode.cpp b/dom/media/webaudio/IIRFilterNode.cpp
index 3a69a94c8..9175cc4c9 100644
--- a/dom/media/webaudio/IIRFilterNode.cpp
+++ b/dom/media/webaudio/IIRFilterNode.cpp
@@ -5,7 +5,13 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "IIRFilterNode.h"
+#include "AlignmentUtils.h"
+#include "AudioBlock.h"
#include "AudioNodeEngine.h"
+#include "AudioNodeStream.h"
+#include "AudioDestinationNode.h"
+#include "PlayingRefChangeHandler.h"
+#include "mozilla/dom/AudioDestinationNodeBinding.h"
#include "blink/IIRFilter.h"
diff --git a/dom/media/webaudio/MediaBufferDecoder.cpp b/dom/media/webaudio/MediaBufferDecoder.cpp
index f3b75ca1a..f590d2f68 100644
--- a/dom/media/webaudio/MediaBufferDecoder.cpp
+++ b/dom/media/webaudio/MediaBufferDecoder.cpp
@@ -16,6 +16,7 @@
#include "DecoderTraits.h"
#include "AudioContext.h"
#include "AudioBuffer.h"
+#include "AudioNodeEngine.h"
#include "nsContentUtils.h"
#include "nsIScriptObjectPrincipal.h"
#include "nsIScriptError.h"
diff --git a/dom/media/webaudio/MediaStreamAudioSourceNode.cpp b/dom/media/webaudio/MediaStreamAudioSourceNode.cpp
index beedd5300..31b276a54 100644
--- a/dom/media/webaudio/MediaStreamAudioSourceNode.cpp
+++ b/dom/media/webaudio/MediaStreamAudioSourceNode.cpp
@@ -9,7 +9,9 @@
#include "AudioNodeEngine.h"
#include "AudioNodeExternalInputStream.h"
#include "AudioStreamTrack.h"
+#include "nsContentUtils.h"
#include "nsIDocument.h"
+#include "nsIScriptError.h"
#include "mozilla/CORSMode.h"
namespace mozilla {
diff --git a/dom/media/webaudio/WebAudioUtils.cpp b/dom/media/webaudio/WebAudioUtils.cpp
index 6289f803b..aa0c7f9ea 100644
--- a/dom/media/webaudio/WebAudioUtils.cpp
+++ b/dom/media/webaudio/WebAudioUtils.cpp
@@ -5,6 +5,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "WebAudioUtils.h"
+#include "AudioEventTimeline.h"
#include "AudioNodeStream.h"
#include "blink/HRTFDatabaseLoader.h"
diff --git a/dom/media/webaudio/moz.build b/dom/media/webaudio/moz.build
index d1a9f5680..c4bfcea60 100644
--- a/dom/media/webaudio/moz.build
+++ b/dom/media/webaudio/moz.build
@@ -75,7 +75,7 @@ EXPORTS.mozilla.dom += [
'WaveShaperNode.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'AnalyserNode.cpp',
'AudioBlock.cpp',
'AudioBuffer.cpp',