From d478bdda8e9762f9e3843d94da5c50e3124a61e0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 17 Jun 2019 21:07:08 +0200 Subject: [PATCH] pcm/Export: document that Export() may return an empty buffer --- src/pcm/PcmExport.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pcm/PcmExport.hxx b/src/pcm/PcmExport.hxx index d47d1a8c9..b42c7246e 100644 --- a/src/pcm/PcmExport.hxx +++ b/src/pcm/PcmExport.hxx @@ -173,7 +173,8 @@ public: * Export a PCM buffer. * * @param src the source PCM buffer - * @return the destination buffer (may be a pointer to the source buffer) + * @return the destination buffer; may be empty (and may be a + * pointer to the source buffer) */ ConstBuffer Export(ConstBuffer src) noexcept;