pcm/RestBuffer: make internal methods private

This commit is contained in:
Max Kellermann 2019-06-26 14:44:20 +02:00
parent 72b8f33272
commit bf574dcb0a

View File

@ -58,6 +58,7 @@ public:
size = 0; size = 0;
} }
private:
ConstBuffer<T> Complete(ConstBuffer<T> &src) noexcept { ConstBuffer<T> Complete(ConstBuffer<T> &src) noexcept {
assert(audio_valid_channel_count(GetChannelCount())); assert(audio_valid_channel_count(GetChannelCount()));
assert(src.size % GetChannelCount() == 0); assert(src.size % GetChannelCount() == 0);
@ -87,6 +88,7 @@ public:
size += src.size; size += src.size;
} }
public:
/** /**
* A helper function which attempts to complete the rest * A helper function which attempts to complete the rest
* buffer, allocates a destination buffer and invokes the * buffer, allocates a destination buffer and invokes the