summaryrefslogtreecommitdiffstats
path: root/servers/audio/effects/audio_effect_phaser.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-01-09 15:01:12 +0100
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-02-13 15:37:09 +0100
commitd8b29efe666202443a019532eb68f560041abeb5 (patch)
treeabe805edd7548423fc40ee9e0b621c82e947a742 /servers/audio/effects/audio_effect_phaser.cpp
parentdfe226b93346c208787728eceecc2c64d81a9553 (diff)
downloadredot-engine-d8b29efe666202443a019532eb68f560041abeb5.tar.gz
Fix member names of `AudioFrame` to match extension
Diffstat (limited to 'servers/audio/effects/audio_effect_phaser.cpp')
-rw-r--r--servers/audio/effects/audio_effect_phaser.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/servers/audio/effects/audio_effect_phaser.cpp b/servers/audio/effects/audio_effect_phaser.cpp
index 76d2ca5689..8093fd01ca 100644
--- a/servers/audio/effects/audio_effect_phaser.cpp
+++ b/servers/audio/effects/audio_effect_phaser.cpp
@@ -61,20 +61,20 @@ void AudioEffectPhaserInstance::process(const AudioFrame *p_src_frames, AudioFra
allpass[0][2].update(
allpass[0][3].update(
allpass[0][4].update(
- allpass[0][5].update(p_src_frames[i].l + h.l * base->feedback))))));
- h.l = y;
+ allpass[0][5].update(p_src_frames[i].left + h.left * base->feedback))))));
+ h.left = y;
- p_dst_frames[i].l = p_src_frames[i].l + y * base->depth;
+ p_dst_frames[i].left = p_src_frames[i].left + y * base->depth;
y = allpass[1][0].update(
allpass[1][1].update(
allpass[1][2].update(
allpass[1][3].update(
allpass[1][4].update(
- allpass[1][5].update(p_src_frames[i].r + h.r * base->feedback))))));
- h.r = y;
+ allpass[1][5].update(p_src_frames[i].right + h.right * base->feedback))))));
+ h.right = y;
- p_dst_frames[i].r = p_src_frames[i].r + y * base->depth;
+ p_dst_frames[i].right = p_src_frames[i].right + y * base->depth;
}
}