diff options
Diffstat (limited to 'src/pcm/PcmDsd.hxx')
-rw-r--r-- | src/pcm/PcmDsd.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pcm/PcmDsd.hxx b/src/pcm/PcmDsd.hxx index d807f8570..b9b6d51ee 100644 --- a/src/pcm/PcmDsd.hxx +++ b/src/pcm/PcmDsd.hxx @@ -25,6 +25,8 @@ #include <stdint.h> +template<typename T> struct ConstBuffer; + /** * Wrapper for the dsd2pcm library. */ @@ -39,9 +41,8 @@ public: void Reset(); - const float *ToFloat(unsigned channels, bool lsbfirst, - const uint8_t *src, size_t src_size, - size_t *dest_size_r); + ConstBuffer<float> ToFloat(unsigned channels, bool lsbfirst, + ConstBuffer<uint8_t> src); }; #endif |