From bad88c38d831c621d768230eacf83283211786eb Mon Sep 17 00:00:00 2001 From: James Bruska Date: Sun, 26 Mar 2023 11:44:24 -0400 Subject: [PATCH] Change comments for convert_stereo_to_mono_audio functions --- src/utilities.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utilities.rs b/src/utilities.rs index 2da86ed..f521f7e 100644 --- a/src/utilities.rs +++ b/src/utilities.rs @@ -54,7 +54,7 @@ pub fn convert_integer_to_float_audio_simd(samples: &[i16]) -> Vec { /// Convert 32 bit floating point stereo PCM audio to 32 bit floating point mono PCM audio. /// -/// If there are an odd number of samples, the last sample is dropped. +/// If there are an odd number of samples, the last half-sample is dropped. /// This variant does not use SIMD instructions. /// /// # Arguments @@ -68,7 +68,7 @@ pub fn convert_stereo_to_mono_audio(samples: &[f32]) -> Vec { /// Convert 32 bit floating point stereo PCM audio to 32 bit floating point mono PCM audio. /// -/// If there are an odd number of samples, the last sample is dropped. +/// If there are an odd number of samples, the last half-sample is dropped. /// This variant uses SIMD instructions, and as such is only available on /// nightly Rust. ///