diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-01-09 15:01:12 +0100 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-02-13 15:37:09 +0100 |
commit | d8b29efe666202443a019532eb68f560041abeb5 (patch) | |
tree | abe805edd7548423fc40ee9e0b621c82e947a742 /servers/audio/effects/audio_effect_eq.cpp | |
parent | dfe226b93346c208787728eceecc2c64d81a9553 (diff) | |
download | redot-engine-d8b29efe666202443a019532eb68f560041abeb5.tar.gz |
Fix member names of `AudioFrame` to match extension
Diffstat (limited to 'servers/audio/effects/audio_effect_eq.cpp')
-rw-r--r-- | servers/audio/effects/audio_effect_eq.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/servers/audio/effects/audio_effect_eq.cpp b/servers/audio/effects/audio_effect_eq.cpp index 8d4bc1891f..59032f99d8 100644 --- a/servers/audio/effects/audio_effect_eq.cpp +++ b/servers/audio/effects/audio_effect_eq.cpp @@ -46,14 +46,14 @@ void AudioEffectEQInstance::process(const AudioFrame *p_src_frames, AudioFrame * AudioFrame dst = AudioFrame(0, 0); for (int j = 0; j < band_count; j++) { - float l = src.l; - float r = src.r; + float l = src.left; + float r = src.right; proc_l[j].process_one(l); proc_r[j].process_one(r); - dst.l += l * bgain[j]; - dst.r += r * bgain[j]; + dst.left += l * bgain[j]; + dst.right += r * bgain[j]; } p_dst_frames[i] = dst; |