Rustup
This commit is contained in:
parent
1adfa820c6
commit
a6c1b14d66
9 changed files with 14 additions and 14 deletions
|
|
@ -63,7 +63,7 @@ impl Sample for u16 {
|
|||
}
|
||||
|
||||
fn to_vec_f32(input: &[u16]) -> Cow<[f32]> {
|
||||
Cow::Owned(Sample::to_vec_f32(Sample::to_vec_i16(input).as_slice()).to_vec())
|
||||
Cow::Owned(Sample::to_vec_f32(&Sample::to_vec_i16(input)).to_vec())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue