aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/PcmConvert.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm/PcmConvert.hxx')
-rw-r--r--src/pcm/PcmConvert.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pcm/PcmConvert.hxx b/src/pcm/PcmConvert.hxx
index 02743b6cc..0672c2955 100644
--- a/src/pcm/PcmConvert.hxx
+++ b/src/pcm/PcmConvert.hxx
@@ -51,6 +51,13 @@ class PcmConvert {
AudioFormat src_format, dest_format;
+ /**
+ * Do we get DSD source data? Then this flag is true and
+ * src_format.format is set to SampleFormat::FLOAT, because
+ * the #PcmDsd class will convert it to floating point.
+ */
+ bool is_dsd;
+
public:
PcmConvert();
~PcmConvert();