cleanup and hacking away a type warning

This commit is contained in:
Connor Olding 2014-02-01 17:31:59 -08:00
parent 329642ab55
commit 6d59f4c062
3 changed files with 5 additions and 9 deletions

View file

@ -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?

5
crap_eq.h Normal file → Executable file
View file

@ -1,6 +1,3 @@
#include <stdlib.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
@ -8,8 +5,6 @@
#include "crap_util.h"
#include "param.h"
typedef unsigned long ulong;
#define BANDS 4
#define ID 0x000CAFED

View file

@ -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,