Rename Buffer::as_raw to Buffer::as_slice
Since things named `as_raw` usually involve pointers.
This commit is contained in:
parent
e5edbac2b4
commit
d2517d6785
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue