summaryrefslogtreecommitdiff
path: root/src/pcm/PcmDsd.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-01-15 09:45:42 +0100
committerMax Kellermann <max@musicpd.org>2020-01-17 16:17:32 +0100
commit925b5954c362c8283f321724823da83e65485a3f (patch)
tree457c8462b9808c00b3b23eb74d7a4834d9b20156 /src/pcm/PcmDsd.hxx
parentdca79938d5be3d505e72c4a56434b8a9cbfb1523 (diff)
pcm/Dsd2Pcm: add integer-only implementation
Diffstat (limited to 'src/pcm/PcmDsd.hxx')
-rw-r--r--src/pcm/PcmDsd.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pcm/PcmDsd.hxx b/src/pcm/PcmDsd.hxx
index 11b0efa97..3678ffa09 100644
--- a/src/pcm/PcmDsd.hxx
+++ b/src/pcm/PcmDsd.hxx
@@ -42,6 +42,9 @@ public:
ConstBuffer<float> ToFloat(unsigned channels,
ConstBuffer<uint8_t> src) noexcept;
+
+ ConstBuffer<int32_t> ToS24(unsigned channels,
+ ConstBuffer<uint8_t> src) noexcept;
};
#endif