1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Correct consting.

This commit is contained in:
Thomas Harte 2021-11-22 11:18:17 -05:00
parent f5d3d6bcea
commit 1aada996dc

View File

@ -298,7 +298,7 @@ template <bool is_stereo> class PushLowpass: public LowpassBase<PushLowpass<is_s
return scale_;
}
int16_t *const buffer_ = nullptr;
const int16_t *buffer_ = nullptr;
void skip_samples(size_t count) {
buffer_ += count;
@ -321,7 +321,7 @@ template <bool is_stereo> class PushLowpass: public LowpassBase<PushLowpass<is_s
/*!
Filters and posts onward the provided buffer, on the calling thread.
*/
void push(int16_t *const buffer, size_t length) {
void push(const int16_t *buffer, size_t length) {
buffer_ = buffer;
process(length);
}