-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Rossmaxx/enable-ladspa
Enable ladspa
- Loading branch information
Showing
16 changed files
with
62 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule veal
updated
52 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,6 @@ | |
(2541 - 2580 donated to [email protected]) | ||
*/ | ||
|
||
#include <sys/time.h> | ||
|
||
#include "basics.h" | ||
|
||
#include "Cabinet.h" | ||
|
@@ -58,18 +56,8 @@ | |
#define N 39 | ||
static DescriptorStub * descriptors [N]; | ||
|
||
/*static inline void | ||
seed() | ||
{ | ||
static struct timeval tv; | ||
gettimeofday (&tv, 0); | ||
srand (tv.tv_sec ^ tv.tv_usec); | ||
}*/ | ||
|
||
extern "C" { | ||
|
||
__attribute__ ((constructor)) | ||
void caps_so_init() | ||
{ | ||
DescriptorStub ** d = descriptors; | ||
|
@@ -121,11 +109,8 @@ void caps_so_init() | |
|
||
/* make sure N is correct */ | ||
assert (d - descriptors == N); | ||
|
||
//seed(); | ||
} | ||
|
||
__attribute__ ((destructor)) | ||
void caps_so_fini() | ||
{ | ||
for (ulong i = 0; i < N; ++i) | ||
|
@@ -134,6 +119,9 @@ void caps_so_fini() | |
|
||
/* /////////////////////////////////////////////////////////////////////// */ | ||
|
||
#ifdef _MSC_VER | ||
__declspec(dllexport) | ||
#endif | ||
const LADSPA_Descriptor * | ||
ladspa_descriptor (unsigned long i) | ||
{ | ||
|
@@ -142,4 +130,10 @@ ladspa_descriptor (unsigned long i) | |
return 0; | ||
} | ||
|
||
struct CapsSoInit { | ||
CapsSoInit() { caps_so_init(); } | ||
~CapsSoInit() { caps_so_fini(); } | ||
}; | ||
static CapsSoInit capsSoInit; | ||
|
||
}; /* extern "C" */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ladspa
updated
6 files
+1 −1 | Makefile.am | |
+1 −1 | hermes_filter_1200.xml | |
+4 −0 | ladspa-util.h | |
+3 −0 | makestub.pl | |
+0 −1 | util/pitchscale.c | |
+6 −0 | util/pitchscale.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule tap-plugins
updated
from 198b84 to 856402