diff options
author | Max Kellermann <max@duempel.org> | 2014-08-12 21:38:36 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-12 22:21:24 +0200 |
commit | 069895d26bd0b22c6dc7304e11db14eff4ab66bc (patch) | |
tree | 24bf067ae16e57c45bf04d01d38eb81e61061a90 /src/pcm/PcmDsdUsb.hxx | |
parent | 0e756e43774ef95ea9685e57f0c51331a9a7d1dc (diff) | |
download | mpd-069895d26bd0b22c6dc7304e11db14eff4ab66bc.tar.gz mpd-069895d26bd0b22c6dc7304e11db14eff4ab66bc.tar.xz mpd-069895d26bd0b22c6dc7304e11db14eff4ab66bc.zip |
PcmDsdUsb: use class ConstBuffer
Diffstat (limited to 'src/pcm/PcmDsdUsb.hxx')
-rw-r--r-- | src/pcm/PcmDsdUsb.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pcm/PcmDsdUsb.hxx b/src/pcm/PcmDsdUsb.hxx index bb31d2d45..5e05c009b 100644 --- a/src/pcm/PcmDsdUsb.hxx +++ b/src/pcm/PcmDsdUsb.hxx @@ -26,6 +26,7 @@ #include <stddef.h> class PcmBuffer; +template<typename T> struct ConstBuffer; /** * Pack DSD 1 bit samples into (padded) 24 bit PCM samples for @@ -33,9 +34,8 @@ class PcmBuffer; * dCS and others: * http://www.sonore.us/DoP_openStandard_1v1.pdf */ -const uint32_t * +ConstBuffer<uint32_t> pcm_dsd_to_usb(PcmBuffer &buffer, unsigned channels, - const uint8_t *src, size_t src_size, - size_t *dest_size_r); + ConstBuffer<uint8_t> src); #endif |