diff options
Diffstat (limited to 'src/pcm/Dop.hxx')
-rw-r--r-- | src/pcm/Dop.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pcm/Dop.hxx b/src/pcm/Dop.hxx index c1806b8c9..c6b6d2947 100644 --- a/src/pcm/Dop.hxx +++ b/src/pcm/Dop.hxx @@ -21,6 +21,7 @@ #define MPD_PCM_DOP_HXX #include "Buffer.hxx" +#include "RestBuffer.hxx" #include <stdint.h> @@ -36,10 +37,13 @@ class DsdToDopConverter { PcmBuffer buffer; + PcmRestBuffer<uint8_t, 4> rest_buffer; + public: void Open(unsigned _channels) noexcept; void Reset() noexcept { + rest_buffer.Reset(); } ConstBuffer<uint32_t> Convert(ConstBuffer<uint8_t> src) noexcept; |