This commit is contained in:
Pierre Krieger 2015-03-26 10:03:13 +01:00
parent 1adfa820c6
commit a6c1b14d66
9 changed files with 14 additions and 14 deletions

View file

@ -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())
}
}