mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Rename Buffer::iter_mut() to iter_samples()
Since there's also an iter_blocks(). This is consistent with the new Block method.
This commit is contained in:
@@ -125,7 +125,7 @@ impl Plugin for Gain {
|
||||
buffer: &mut Buffer,
|
||||
_context: &mut impl ProcessContext,
|
||||
) -> ProcessStatus {
|
||||
for channel_samples in buffer.iter_mut() {
|
||||
for channel_samples in buffer.iter_samples() {
|
||||
// Smoothing is optionally built into the parameters themselves
|
||||
let gain = self.params.gain.smoothed.next();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user