aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-28 17:42:03 +0100
committerMax Kellermann <max@duempel.org>2013-12-28 18:30:27 +0100
commitda29298d4dbe8dddade7cf241dd1af267470f2a8 (patch)
tree4cbb96c50418ce5d1dad66db9a946b1ba0a259aa /src/OutputInternal.hxx
parentafcf0795c44260f54e74ec854297de439e7562c3 (diff)
downloadmpd-da29298d4dbe8dddade7cf241dd1af267470f2a8.tar.gz
mpd-da29298d4dbe8dddade7cf241dd1af267470f2a8.tar.xz
mpd-da29298d4dbe8dddade7cf241dd1af267470f2a8.zip
pcm/PcmMix: improved dithering
Use the existing PcmDither library.
Diffstat (limited to '')
-rw-r--r--src/OutputInternal.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/OutputInternal.hxx b/src/OutputInternal.hxx
index f05073bd7..ab1c1242e 100644
--- a/src/OutputInternal.hxx
+++ b/src/OutputInternal.hxx
@@ -22,6 +22,7 @@
#include "AudioFormat.hxx"
#include "pcm/PcmBuffer.hxx"
+#include "pcm/PcmDither.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "thread/Thread.hxx"
@@ -172,6 +173,11 @@ struct audio_output {
PcmBuffer cross_fade_buffer;
/**
+ * The dithering state for cross-fading two streams.
+ */
+ PcmDither cross_fade_dither;
+
+ /**
* The filter object of this audio output. This is an
* instance of chain_filter_plugin.
*/