summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-07-06 17:10:11 +0200
committerMax Kellermann <max@musicpd.org>2018-07-06 19:35:31 +0200
commit6f3c0d0a60b0062664320a7beacfd824c0cc6685 (patch)
treefd965236ef7f6a7a8c3e18dc55346214f7f76efc /src
parent466625f7ad9066eeb25383b0ad6f63954b1af9f8 (diff)
AudioFormat: include cleanup
Diffstat (limited to 'src')
-rw-r--r--src/AudioFormat.hxx1
-rw-r--r--src/output/plugins/RoarOutputPlugin.cxx2
-rw-r--r--src/pcm/ConfiguredResampler.cxx1
-rw-r--r--src/pcm/PcmExport.cxx2
4 files changed, 5 insertions, 1 deletions
diff --git a/src/AudioFormat.hxx b/src/AudioFormat.hxx
index 77e710f55..9b01e5256 100644
--- a/src/AudioFormat.hxx
+++ b/src/AudioFormat.hxx
@@ -23,7 +23,6 @@
#include "pcm/SampleFormat.hxx"
#include "Compiler.h"
-#include <assert.h>
#include <stdint.h>
#include <stddef.h>
diff --git a/src/output/plugins/RoarOutputPlugin.cxx b/src/output/plugins/RoarOutputPlugin.cxx
index 7a201b2ca..5eb181bc3 100644
--- a/src/output/plugins/RoarOutputPlugin.cxx
+++ b/src/output/plugins/RoarOutputPlugin.cxx
@@ -36,6 +36,8 @@
#include <roaraudio.h>
#undef new
+#include <assert.h>
+
class RoarOutput {
friend struct AudioOutputWrapper<RoarOutput>;
diff --git a/src/pcm/ConfiguredResampler.cxx b/src/pcm/ConfiguredResampler.cxx
index bd44a95f3..2e68ed89d 100644
--- a/src/pcm/ConfiguredResampler.cxx
+++ b/src/pcm/ConfiguredResampler.cxx
@@ -35,6 +35,7 @@
#include "SoxrResampler.hxx"
#endif
+#include <assert.h>
#include <string.h>
enum class SelectedResampler {
diff --git a/src/pcm/PcmExport.cxx b/src/pcm/PcmExport.cxx
index 1054dba4c..b88005cf7 100644
--- a/src/pcm/PcmExport.cxx
+++ b/src/pcm/PcmExport.cxx
@@ -32,6 +32,8 @@
#include "PcmDop.hxx"
#endif
+#include <assert.h>
+
void
PcmExport::Open(SampleFormat sample_format, unsigned _channels,
Params params)