mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
Correct const
ing.
This commit is contained in:
parent
f5d3d6bcea
commit
1aada996dc
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user