diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/calf/files/patch-src_monosynth.cpp | |
parent | MooseFS 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/calf/files/patch-src_monosynth.cpp')
-rw-r--r-- | audio/calf/files/patch-src_monosynth.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/calf/files/patch-src_monosynth.cpp b/audio/calf/files/patch-src_monosynth.cpp new file mode 100644 index 000000000000..1c949a8fbef1 --- /dev/null +++ b/audio/calf/files/patch-src_monosynth.cpp @@ -0,0 +1,11 @@ +--- src/monosynth.cpp.orig 2015-01-10 10:25:16 UTC ++++ src/monosynth.cpp +@@ -309,7 +309,7 @@ void monosynth_audio_module::calculate_b + { + float freq = fabs(*params[par_o2unisonfrq] / muls[7]); + if (moddest[moddest_o2unisondetune] != 0) +- freq *= pow(2.0, moddest[moddest_o2unisondetune]); ++ freq *= pow(2.0, (double)moddest[moddest_o2unisondetune]); + unison_osc.set_freq(freq, srate); + last_unison_scale = 1.0 / (1.0 + 2 * last_unison); + unison_scale = 1.0 / (1.0 + 2 * unison); |