diff options
Diffstat (limited to '')
-rw-r--r-- | src/pcm/PcmDsdUsb.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pcm/PcmDsdUsb.hxx b/src/pcm/PcmDsdUsb.hxx index 3b7121465..5e05c009b 100644 --- a/src/pcm/PcmDsdUsb.hxx +++ b/src/pcm/PcmDsdUsb.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2013 The Music Player Daemon Project + * Copyright (C) 2003-2014 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -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 |