summaryrefslogtreecommitdiff
path: root/src/audio_core/effect_context.cpp
diff options
context:
space:
mode:
authorGravatar Chloe Marcec2021-02-11 19:44:26 +1100
committerGravatar bunnei2021-02-12 18:48:10 -0800
commit7ad63ea542c69b4d7d495a38aa247b4958989ee7 (patch)
tree7065051ed0c7f9717a3789777bf4ea835f54eeab /src/audio_core/effect_context.cpp
parentaddress issues (diff)
downloadyuzu-7ad63ea542c69b4d7d495a38aa247b4958989ee7.tar.gz
yuzu-7ad63ea542c69b4d7d495a38aa247b4958989ee7.tar.xz
yuzu-7ad63ea542c69b4d7d495a38aa247b4958989ee7.zip
revert to std::sin and std::cos
Diffstat (limited to 'src/audio_core/effect_context.cpp')
-rw-r--r--src/audio_core/effect_context.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio_core/effect_context.cpp b/src/audio_core/effect_context.cpp
index eeee8e325..89e4573c7 100644
--- a/src/audio_core/effect_context.cpp
+++ b/src/audio_core/effect_context.cpp
@@ -126,10 +126,10 @@ void EffectI3dl2Reverb::Update(EffectInfo::InParams& in_params) {
126 params.status = ParameterStatus::Initialized; 126 params.status = ParameterStatus::Initialized;
127 skipped = in_params.buffer_address == 0 || in_params.buffer_size == 0; 127 skipped = in_params.buffer_address == 0 || in_params.buffer_size == 0;
128 if (!skipped) { 128 if (!skipped) {
129 auto& work_buffer = GetWorkBuffer(); 129 auto& cur_work_buffer = GetWorkBuffer();
130 // Has two buffers internally 130 // Has two buffers internally
131 work_buffer.resize(in_params.buffer_size * 2); 131 cur_work_buffer.resize(in_params.buffer_size * 2);
132 std::fill(work_buffer.begin(), work_buffer.end(), 0); 132 std::fill(cur_work_buffer.begin(), cur_work_buffer.end(), 0);
133 } 133 }
134 } 134 }
135} 135}