summaryrefslogtreecommitdiff
path: root/src/pcm/Dsd16.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm/Dsd16.hxx')
-rw-r--r--src/pcm/Dsd16.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/pcm/Dsd16.hxx b/src/pcm/Dsd16.hxx
index 18b31b83a..6e00f4039 100644
--- a/src/pcm/Dsd16.hxx
+++ b/src/pcm/Dsd16.hxx
@@ -44,6 +44,20 @@ public:
rest_buffer.Reset();
}
+ /**
+ * @return the size of one input block in bytes
+ */
+ size_t GetInputBlockSize() const noexcept {
+ return rest_buffer.GetInputBlockSize();
+ }
+
+ /**
+ * @return the size of one output block in bytes
+ */
+ size_t GetOutputBlockSize() const noexcept {
+ return GetInputBlockSize();
+ }
+
ConstBuffer<uint16_t> Convert(ConstBuffer<uint8_t> src) noexcept;
};