summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-06 18:51:06 -0500
committerXANTRONIX Development2022-03-06 18:51:06 -0500
commitbcaab1b213b897856909f1a4ee6c2f1d69fd0341 (patch)
treef3717c3e4c760f7d7c6c6d060ae258647257e8dd /src
parent55bf5f3f709b52db1bacb6d66c63f98683f7bad6 (diff)
downloadxas-bcaab1b213b897856909f1a4ee6c2f1d69fd0341.tar.gz
xas-bcaab1b213b897856909f1a4ee6c2f1d69fd0341.tar.bz2
xas-bcaab1b213b897856909f1a4ee6c2f1d69fd0341.zip
feline typos
Diffstat (limited to 'src')
-rw-r--r--src/spatial.c4
1 files changed, 2 insertions, 2 deletions
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++;
}