mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Rename Buffer::as_raw to Buffer::as_slice
Since things named `as_raw` usually involve pointers.
This commit is contained in:
@@ -23,7 +23,7 @@ impl<'a> Buffer<'a> {
|
||||
}
|
||||
|
||||
/// Obtain the raw audio buffers.
|
||||
pub fn as_raw(&mut self) -> &mut [&'a mut [f32]] {
|
||||
pub fn as_slice(&mut self) -> &mut [&'a mut [f32]] {
|
||||
&mut self.output_slices
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user