aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/PcmConvert.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-12 16:36:07 +0200
committerMax Kellermann <max@duempel.org>2014-08-12 16:36:07 +0200
commit56f61a6d59cfc6a97005d85599963cafdfdeaba8 (patch)
treec5d4c15e407b5ef6213cc82808af562e2bf85c6d /src/pcm/PcmConvert.hxx
parent4d5f610029f27f0947bd590b32dbd2179ab379e9 (diff)
downloadmpd-56f61a6d59cfc6a97005d85599963cafdfdeaba8.tar.gz
mpd-56f61a6d59cfc6a97005d85599963cafdfdeaba8.tar.xz
mpd-56f61a6d59cfc6a97005d85599963cafdfdeaba8.zip
PcmConvert: Convert() returns ConstBuffer
Diffstat (limited to '')
-rw-r--r--src/pcm/PcmConvert.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pcm/PcmConvert.hxx b/src/pcm/PcmConvert.hxx
index c65835421..9d63e07c9 100644
--- a/src/pcm/PcmConvert.hxx
+++ b/src/pcm/PcmConvert.hxx
@@ -70,16 +70,12 @@ public:
*
* @param src_format the source audio format
* @param src the source PCM buffer
- * @param src_size the size of #src in bytes
* @param dest_format the requested destination audio format
- * @param dest_size_r returns the number of bytes of the destination buffer
* @param error_r location to store the error occurring, or nullptr to
* ignore errors
* @return the destination buffer, or nullptr on error
*/
- const void *Convert(const void *src, size_t src_size,
- size_t *dest_size_r,
- Error &error);
+ ConstBuffer<void> Convert(ConstBuffer<void> src, Error &error);
};
bool