mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-20 14:29:11 +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_;
|
return scale_;
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t *const buffer_ = nullptr;
|
const int16_t *buffer_ = nullptr;
|
||||||
|
|
||||||
void skip_samples(size_t count) {
|
void skip_samples(size_t count) {
|
||||||
buffer_ += 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.
|
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;
|
buffer_ = buffer;
|
||||||
process(length);
|
process(length);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user