diff options
author | Max Kellermann <max@duempel.org> | 2014-09-26 10:52:46 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-09-26 12:17:47 +0200 |
commit | 3120958a17f1fcbfc90d0c2ee2ede9e31c4cf09d (patch) | |
tree | bf4676aedfb4f6a1a900d8563c2448a30886d558 /src/pcm/PcmConvert.hxx | |
parent | 052726ed50f1600d5ffca41291528364435ff65e (diff) | |
download | mpd-3120958a17f1fcbfc90d0c2ee2ede9e31c4cf09d.tar.gz mpd-3120958a17f1fcbfc90d0c2ee2ede9e31c4cf09d.tar.xz mpd-3120958a17f1fcbfc90d0c2ee2ede9e31c4cf09d.zip |
pcm: --disable-dsd also disables the dsd2pcm library
Diffstat (limited to '')
-rw-r--r-- | src/pcm/PcmConvert.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pcm/PcmConvert.hxx b/src/pcm/PcmConvert.hxx index 9d63e07c9..26ab02923 100644 --- a/src/pcm/PcmConvert.hxx +++ b/src/pcm/PcmConvert.hxx @@ -20,13 +20,17 @@ #ifndef PCM_CONVERT_HXX #define PCM_CONVERT_HXX -#include "PcmDsd.hxx" +#include "check.h" #include "PcmBuffer.hxx" #include "FormatConverter.hxx" #include "ChannelsConverter.hxx" #include "GlueResampler.hxx" #include "AudioFormat.hxx" +#ifdef ENABLE_DSD +#include "PcmDsd.hxx" +#endif + #include <stddef.h> template<typename T> struct ConstBuffer; @@ -39,7 +43,9 @@ class Domain; * conversions. */ class PcmConvert { +#ifdef ENABLE_DSD PcmDsd dsd; +#endif GluePcmResampler resampler; PcmFormatConverter format_converter; |