2
terminatorX - realtime audio scratching software
3
Copyright (C) 1999-2003 Alexander K�nig
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21
Description: Header to ladspa.cc - see there for more info
25
#define _h_tx_ladspa 1
35
const LADSPA_Descriptor *ladspa_descriptor;
36
LADSPA_Plugin(const LADSPA_Descriptor *ld, char *filename);
37
char info_string[4096];
40
static list <LADSPA_Plugin *> plugin_list;
41
static void scandir(char *dir);
42
static void handlelib(void *lib, LADSPA_Descriptor_Function desc_func, char* filename);
47
static void debug_display();
48
char *get_info_string() { return info_string; }
49
char *get_file_name() { return file; }
51
long getUniqueID() { return ladspa_descriptor->UniqueID; }
52
const char * getName() { return ladspa_descriptor->Name; }
53
const char * getLabel() { return ladspa_descriptor->Label; }
54
long getPortCount() { return ladspa_descriptor->PortCount; }
56
static int getPluginCount() { return plugin_list.size(); }
57
static LADSPA_Plugin * getPluginByIndex(int i);
58
static LADSPA_Plugin * getPluginByUniqueID(long ID);
59
const LADSPA_Descriptor *getDescriptor() { return ladspa_descriptor; }