Change assert_stereo_to_mono_simd test to exibit issue of odd length value
This commit is contained in:
parent
05d072ffc4
commit
31260475dc
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ mod test {
|
||||||
pub fn assert_stereo_to_mono_simd() {
|
pub fn assert_stereo_to_mono_simd() {
|
||||||
// fake some sample data, of 1028 elements
|
// fake some sample data, of 1028 elements
|
||||||
let mut samples = Vec::with_capacity(1028);
|
let mut samples = Vec::with_capacity(1028);
|
||||||
for i in 0..1028 {
|
for i in 0..1029 {
|
||||||
samples.push(i as f32);
|
samples.push(i as f32);
|
||||||
}
|
}
|
||||||
let mono_simd = convert_stereo_to_mono_audio_simd(&samples);
|
let mono_simd = convert_stereo_to_mono_audio_simd(&samples);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue