From bcaab1b213b897856909f1a4ee6c2f1d69fd0341 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sun, 6 Mar 2022 18:51:06 -0500 Subject: feline typos --- src/spatial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/spatial.c b/src/spatial.c index 5d74fad..b5bb8b6 100644 --- a/src/spatial.c +++ b/src/spatial.c @@ -304,7 +304,7 @@ ssize_t scene_fill(xas_spatial_scene *scene, } if (obj->shift_r == 0) { - dest[XAS_AUDIO_STEREO*index_r] += value_r; + dest[XAS_AUDIO_STEREO*index_r+1] += value_r; } else { while (obj->shift_r > 0) { size_t index = index_r + obj->shift_r; @@ -317,7 +317,7 @@ ssize_t scene_fill(xas_spatial_scene *scene, } while (obj->shift_r < 0) { - dest[XAS_AUDIO_STEREO*index_r] += value_r; + dest[XAS_AUDIO_STEREO*index_r+1] += value_r; obj->shift_r++; } -- cgit v1.2.3