From bf574dcb0ac899bb596f4b1d567c7bd54fe4c57c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 26 Jun 2019 14:44:20 +0200 Subject: [PATCH] pcm/RestBuffer: make internal methods private --- src/pcm/RestBuffer.hxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pcm/RestBuffer.hxx b/src/pcm/RestBuffer.hxx index e963afa55..ddcfdfcf8 100644 --- a/src/pcm/RestBuffer.hxx +++ b/src/pcm/RestBuffer.hxx @@ -58,6 +58,7 @@ public: size = 0; } +private: ConstBuffer Complete(ConstBuffer &src) noexcept { assert(audio_valid_channel_count(GetChannelCount())); assert(src.size % GetChannelCount() == 0); @@ -87,6 +88,7 @@ public: size += src.size; } +public: /** * A helper function which attempts to complete the rest * buffer, allocates a destination buffer and invokes the