diff options
Diffstat (limited to 'src/pcm')
-rw-r--r-- | src/pcm/PcmBuffer.cxx | 1 | ||||
-rw-r--r-- | src/pcm/PcmConvert.hxx | 3 | ||||
-rw-r--r-- | src/pcm/PcmDsd.cxx | 1 | ||||
-rw-r--r-- | src/pcm/PcmDsdUsb.cxx | 2 | ||||
-rw-r--r-- | src/pcm/PcmMix.cxx | 1 |
5 files changed, 5 insertions, 3 deletions
diff --git a/src/pcm/PcmBuffer.cxx b/src/pcm/PcmBuffer.cxx index 578c579be..5af9a978d 100644 --- a/src/pcm/PcmBuffer.cxx +++ b/src/pcm/PcmBuffer.cxx @@ -19,7 +19,6 @@ #include "config.h" #include "PcmBuffer.hxx" -#include "poison.h" void * PcmBuffer::Get(size_t new_size) diff --git a/src/pcm/PcmConvert.hxx b/src/pcm/PcmConvert.hxx index 4bace1d36..02743b6cc 100644 --- a/src/pcm/PcmConvert.hxx +++ b/src/pcm/PcmConvert.hxx @@ -29,6 +29,7 @@ #include <stddef.h> class Error; +class Domain; /** * This object is statically allocated (within another struct), and @@ -100,6 +101,6 @@ private: Error &error); }; -extern const class Domain pcm_convert_domain; +extern const Domain pcm_convert_domain; #endif diff --git a/src/pcm/PcmDsd.cxx b/src/pcm/PcmDsd.cxx index 4db274635..22b3c7ba2 100644 --- a/src/pcm/PcmDsd.cxx +++ b/src/pcm/PcmDsd.cxx @@ -25,7 +25,6 @@ #include <algorithm> #include <assert.h> -#include <string.h> PcmDsd::PcmDsd() { diff --git a/src/pcm/PcmDsdUsb.cxx b/src/pcm/PcmDsdUsb.cxx index 2d0f33a15..833d84653 100644 --- a/src/pcm/PcmDsdUsb.cxx +++ b/src/pcm/PcmDsdUsb.cxx @@ -22,6 +22,8 @@ #include "PcmBuffer.hxx" #include "AudioFormat.hxx" +#include <assert.h> + constexpr static inline uint32_t pcm_two_dsd_to_usb_marker1(uint8_t a, uint8_t b) diff --git a/src/pcm/PcmMix.cxx b/src/pcm/PcmMix.cxx index 001794061..21080bc5f 100644 --- a/src/pcm/PcmMix.cxx +++ b/src/pcm/PcmMix.cxx @@ -23,6 +23,7 @@ #include "PcmUtils.hxx" #include "AudioFormat.hxx" +#include <assert.h> #include <math.h> template<typename T, typename U, unsigned bits> |