pcm/RestBuffer: make internal methods private
This commit is contained in:
parent
72b8f33272
commit
bf574dcb0a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user