diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-05-28 02:16:27 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-05-28 02:16:27 +0000 |
commit | 9ca5bee89b4873aa4f23047f18ad094b36807481 (patch) | |
tree | 916e032778be13879d2be3fc605eac28333aa210 /audio | |
parent | 69f24b93f53d5f2009e3b258d3b6702618118e3b (diff) | |
download | ports-9ca5bee89b4873aa4f23047f18ad094b36807481.tar.gz ports-9ca5bee89b4873aa4f23047f18ad094b36807481.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/calf-lv2/files/patch-src_analyzer.cpp | 17 | ||||
-rw-r--r-- | audio/calf-lv2/files/patch-src_calf_audio__fx.h | 10 | ||||
-rw-r--r-- | audio/calf-lv2/files/patch-src_calf_osctl.h | 13 | ||||
-rw-r--r-- | audio/calf-lv2/files/patch-src_giface.cpp | 11 | ||||
-rw-r--r-- | audio/calf-lv2/files/patch-src_modules__dist.cpp | 13 | ||||
-rw-r--r-- | audio/calf-lv2/files/patch-src_modules__limit.cpp | 20 | ||||
-rw-r--r-- | audio/calf-lv2/files/patch-src_monosynth.cpp | 11 |
7 files changed, 0 insertions, 95 deletions
diff --git a/audio/calf-lv2/files/patch-src_analyzer.cpp b/audio/calf-lv2/files/patch-src_analyzer.cpp deleted file mode 100644 index 765c089928b5..000000000000 --- a/audio/calf-lv2/files/patch-src_analyzer.cpp +++ /dev/null @@ -1,17 +0,0 @@ ---- src/analyzer.cpp.orig 2014-10-14 18:53:15 UTC -+++ src/analyzer.cpp -@@ -471,12 +471,12 @@ void analyzer::draw(int subindex, float - //pumping up actual signal an erase surrounding - // sounds - fft_outL[_iter] = 0.25f * std::max(n * 0.6f * \ -- fabs(fft_outL[_iter]) - var1L , 1e-20); -+ fabsf(fft_outL[_iter]) - var1L , 1e-20f); - if(_mode == 3 or _mode == 4) { - // do the same with R channel if needed - lastoutR = fft_outR[_iter]; - fft_outR[_iter] = 0.25f * std::max(n * \ -- 0.6f * fabs(fft_outR[_iter]) - var1R , 1e-20); -+ 0.6f * fabsf(fft_outR[_iter]) - var1R , 1e-20f); - } - break; - } diff --git a/audio/calf-lv2/files/patch-src_calf_audio__fx.h b/audio/calf-lv2/files/patch-src_calf_audio__fx.h deleted file mode 100644 index 0b1334427311..000000000000 --- a/audio/calf-lv2/files/patch-src_calf_audio__fx.h +++ /dev/null @@ -1,10 +0,0 @@ ---- src/calf/audio_fx.h.orig 2015-03-13 23:00:12 UTC -+++ src/calf/audio_fx.h -@@ -27,6 +27,7 @@ - #include "inertia.h" - #include "giface.h" - #include "onepole.h" -+#include <sys/types.h> - #include <complex> - - namespace calf_plugins { diff --git a/audio/calf-lv2/files/patch-src_calf_osctl.h b/audio/calf-lv2/files/patch-src_calf_osctl.h deleted file mode 100644 index 4d1fe7be00ca..000000000000 --- a/audio/calf-lv2/files/patch-src_calf_osctl.h +++ /dev/null @@ -1,13 +0,0 @@ ---- src/calf/osctl.h.orig 2014-01-26 21:24:40 UTC -+++ src/calf/osctl.h -@@ -26,7 +26,10 @@ - #include <vector> - #include <string.h> - #include <errno.h> -+#include <sys/types.h> -+#include <sys/socket.h> - #include <netinet/in.h> -+#include <arpa/inet.h> - #include <netdb.h> - #include <iostream> - diff --git a/audio/calf-lv2/files/patch-src_giface.cpp b/audio/calf-lv2/files/patch-src_giface.cpp deleted file mode 100644 index eecf206026f8..000000000000 --- a/audio/calf-lv2/files/patch-src_giface.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/giface.cpp.orig 2015-01-24 17:21:09 UTC -+++ src/giface.cpp -@@ -173,7 +173,7 @@ std::string human_readable(float value, - } - double val = abs(value); - int place = (int)(log(val) / log(base)); -- double num = val / pow(base, place); -+ double num = val / pow((double)base, place); - sprintf(buf, format, (float)((value > 0) - (value < 0)) * num, suf[place]); - return string(buf); - } diff --git a/audio/calf-lv2/files/patch-src_modules__dist.cpp b/audio/calf-lv2/files/patch-src_modules__dist.cpp deleted file mode 100644 index d2fae60eecd3..000000000000 --- a/audio/calf-lv2/files/patch-src_modules__dist.cpp +++ /dev/null @@ -1,13 +0,0 @@ ---- src/modules_dist.cpp.orig 2015-03-13 23:00:12 UTC -+++ src/modules_dist.cpp -@@ -794,8 +794,8 @@ uint32_t tapesimulator_audio_module::pro - lfo2.advance(1); - - // dot -- rms = std::max((double)rms, (fabs(Lo) + fabs(Ro)) / 2); -- input = std::max((double)input, (fabs(Lc) + fabs(Rc)) / 2); -+ rms = std::max(rms, (fabsf(Lo) + fabsf(Ro)) / 2); -+ input = std::max(input, (fabsf(Lc) + fabsf(Rc)) / 2); - - float values[] = {inL, inR, outs[0][i], outs[1][i]}; - meters.process(values); diff --git a/audio/calf-lv2/files/patch-src_modules__limit.cpp b/audio/calf-lv2/files/patch-src_modules__limit.cpp deleted file mode 100644 index 3af0e8e524d0..000000000000 --- a/audio/calf-lv2/files/patch-src_modules__limit.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- src/modules_limit.cpp.orig 2014-10-14 18:56:24 UTC -+++ src/modules_limit.cpp -@@ -429,7 +429,7 @@ uint32_t multibandlimiter_audio_module:: - } - - // write multiband coefficient to buffer -- buffer[pos] = std::min(*params[param_limit] / std::max(fabs(tmpL), fabs(tmpR)), 1.0); -+ buffer[pos] = std::min(*params[param_limit] / std::max(fabsf(tmpL), fabsf(tmpR)), 1.0f); - - // step forward in multiband buffer - pos = (pos + channels) % buffer_size; -@@ -811,7 +811,7 @@ uint32_t sidechainlimiter_audio_module:: - } - - // write multiband coefficient to buffer -- buffer[pos] = std::min(*params[param_limit] / std::max(fabs(tmpL), fabs(tmpR)), 1.0); -+ buffer[pos] = std::min(*params[param_limit] / std::max(fabsf(tmpL), fabsf(tmpR)), 1.0f); - - // step forward in multiband buffer - pos = (pos + channels) % buffer_size; diff --git a/audio/calf-lv2/files/patch-src_monosynth.cpp b/audio/calf-lv2/files/patch-src_monosynth.cpp deleted file mode 100644 index 1c949a8fbef1..000000000000 --- a/audio/calf-lv2/files/patch-src_monosynth.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- 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); |