mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Rename Buffer::len() to Buffer::samples()
To reduce ambiguity.
This commit is contained in:
@@ -183,7 +183,7 @@ impl Plugin for PolyModSynth {
|
||||
// num_remaining_samples, next_event_idx - block_start_idx)`. Because blocks also need to be
|
||||
// split on note events, it's easier to work with raw audio here and to do the splitting by
|
||||
// hand.
|
||||
let num_samples = buffer.len();
|
||||
let num_samples = buffer.samples();
|
||||
let sample_rate = context.transport().sample_rate;
|
||||
let output = buffer.as_slice();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user