Commit bf574dcb authored by Max Kellermann's avatar Max Kellermann

pcm/RestBuffer: make internal methods private

parent 72b8f332
...@@ -58,6 +58,7 @@ public: ...@@ -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: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment