From 6d59f4c0628e2843e9bfe9967430ce8e15852bd7 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 1 Feb 2014 17:31:59 -0800 Subject: [PATCH] cleanup and hacking away a type warning --- README.md | 7 ++++--- crap_eq.h | 5 ----- template-ladspa.c | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) mode change 100644 => 100755 crap_eq.h diff --git a/README.md b/README.md index 4169b5d..2c7d627 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ connor's rancid audio plugins. LADSPA and VST. -alternatively, configuration realizes any personality +alternatively, configuration realizes any personality. ## plugs @@ -39,13 +39,14 @@ a `benchmark` target is included, however it doesn't build on Windows. try `CFLAGS="-O3 -ffast-math -march=core2"` -on linux, you'll need `CFLAGS+=" -fpic" CXXFLAGS+=" -fpic -D__cdecl="` +on Linux, you'll need `CFLAGS+=" -fpic" CXXFLAGS+=" -fpic -D__cdecl="` -remember to export `VST\_SDK\_DIR` to the path of your `vstsdk2.4/` +remember to export `VST_SDK_DIR` to the path of your `vstsdk2.4/` ## TODO * convert crap\_noise to the template format +* get presets, no pardon me, Banks And Patches working in vst * rename plugins (fix capitalization consistency and such) * remove crap\_ prefixes? * move to subdirs? diff --git a/crap_eq.h b/crap_eq.h old mode 100644 new mode 100755 index 6a916bc..ee125dc --- a/crap_eq.h +++ b/crap_eq.h @@ -1,6 +1,3 @@ -#include -#include -#include #include #include @@ -8,8 +5,6 @@ #include "crap_util.h" #include "param.h" -typedef unsigned long ulong; - #define BANDS 4 #define ID 0x000CAFED diff --git a/template-ladspa.c b/template-ladspa.c index e5c0830..760c217 100644 --- a/template-ladspa.c +++ b/template-ladspa.c @@ -116,7 +116,7 @@ static const LADSPA_Descriptor plug_desc = { .PortCount = PCOUNT, .PortDescriptors = p_descs, .PortRangeHints = p_hints, - .PortNames = p_names, + .PortNames = (const char * const *) p_names, .instantiate = plug_construct, .cleanup = plug_destruct,