LMMS
Loading...
Searching...
No Matches
dssi.h File Reference
#include "../ladspa/ladspa.h"
#include "seq_event-compat.h"

Go to the source code of this file.

Classes

struct  _DSSI_Program_Descriptor
struct  _DSSI_Descriptor

Macros

#define DSSI_VERSION   "1.0"
#define DSSI_VERSION_MAJOR   1
#define DSSI_VERSION_MINOR   0

Typedefs

typedef struct _DSSI_Program_Descriptor DSSI_Program_Descriptor
typedef struct _DSSI_Descriptor DSSI_Descriptor
typedef const DSSI_Descriptor *(* DSSI_Descriptor_Function) (unsigned long Index)

Functions

const DSSI_Descriptordssi_descriptor (unsigned long Index)

Macro Definition Documentation

◆ DSSI_VERSION

#define DSSI_VERSION   "1.0"

◆ DSSI_VERSION_MAJOR

#define DSSI_VERSION_MAJOR   1

◆ DSSI_VERSION_MINOR

#define DSSI_VERSION_MINOR   0

Typedef Documentation

◆ DSSI_Descriptor

◆ DSSI_Descriptor_Function

typedef const DSSI_Descriptor *(* DSSI_Descriptor_Function) (unsigned long Index)

◆ DSSI_Program_Descriptor

Function Documentation

◆ dssi_descriptor()

const DSSI_Descriptor * dssi_descriptor ( unsigned long Index)

DSSI supports a plugin discovery method similar to that of LADSPA:

  • DSSI hosts may wish to locate DSSI plugin shared object files by searching the paths contained in the DSSI_PATH and LADSPA_PATH environment variables, if they are present. Both are expected to be colon-separated lists of directories to be searched (in order), and DSSI_PATH should be searched first if both variables are set.
  • Each shared object file containing DSSI plugins must include a function dssi_descriptor(), with the following function prototype and C-style linkage. Hosts may enumerate the plugin types available in the shared object file by repeatedly calling this function with successive Index values (beginning from 0), until a return value of NULL indicates no more plugin types are available. Each non-NULL return is the DSSI_Descriptor of a distinct plugin type.