diff --git a/src/samples_formats.rs b/src/samples_formats.rs index 003334c1b..21c30b032 100644 --- a/src/samples_formats.rs +++ b/src/samples_formats.rs @@ -62,6 +62,7 @@ unsafe impl Sample for u16 { } } + #[inline] fn to_i32(&self) -> i32 { self.to_i16() as i32 }