summaryrefslogtreecommitdiff
path: root/audio/creox/files/patch-creox_effects__dsp_tremoloprocessor.cpp
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /audio/creox/files/patch-creox_effects__dsp_tremoloprocessor.cpp
parentMooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff)
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'audio/creox/files/patch-creox_effects__dsp_tremoloprocessor.cpp')
-rw-r--r--audio/creox/files/patch-creox_effects__dsp_tremoloprocessor.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/creox/files/patch-creox_effects__dsp_tremoloprocessor.cpp b/audio/creox/files/patch-creox_effects__dsp_tremoloprocessor.cpp
new file mode 100644
index 000000000000..966768bb3463
--- /dev/null
+++ b/audio/creox/files/patch-creox_effects__dsp_tremoloprocessor.cpp
@@ -0,0 +1,13 @@
+--- creox/effects_dsp/tremoloprocessor.cpp.orig 2011-06-21 21:27:40 UTC
++++ creox/effects_dsp/tremoloprocessor.cpp
+@@ -182,8 +182,8 @@ void TremoloProcessor::signalFlow_run(co
+ register const float inputSample = *(inputBuffer++) * m_inputGain_f;
+ #ifdef FP_FAST_FMAF
+ *(outputBuffer++) = (inputSample * m_dry_f)
+- + (inputSample * m_wet_f * std::fmaf(amplitudeModulation,
+- m_modulationMulti, m_modulationShift);
++ + (inputSample * m_wet_f * fmaf(amplitudeModulation,
++ m_modulationMulti, m_modulationShift));
+ #else
+ *(outputBuffer++) = (inputSample * m_dry_f)
+ + (inputSample * m_wet_f * ((amplitudeModulation * m_modulationMulti)