AgsLadspaManager

AgsLadspaManager — Singleton pattern to organize LADSPA

Functions

Types and Values

Includes

#include <ags/object/ags_ladspa_manager.h>

Description

The AgsLadspaManager loads/unloads LADSPA plugins.

Functions

AGS_LADSPA_PLUGIN()

#define AGS_LADSPA_PLUGIN(ptr) ((AgsLadspaPlugin *)(ptr))


ags_ladspa_plugin_alloc ()

AgsLadspaPlugin *
ags_ladspa_plugin_alloc ();

Alloc the AgsLadspaPlugin

Returns

the AgsLadspaPlugin

Since 0.4


ags_ladspa_plugin_free ()

void
ags_ladspa_plugin_free (AgsLadspaPlugin *ladspa_plugin);

Free the AgsLadspaPlugin

Parameters

ladspa_plugin

the AgsLadspaPlugin

 

Since 0.4


ags_ladspa_manager_get_filenames ()

gchar **
ags_ladspa_manager_get_filenames ();

Retrieve all filenames

Returns

a NULL-terminated array of filenames

Since 0.4


ags_ladspa_manager_find_ladspa_plugin ()

AgsLadspaPlugin *
ags_ladspa_manager_find_ladspa_plugin (gchar *filename);

Lookup filename in loaded plugins.

Parameters

filename

the filename of the plugin

 

Returns

the AgsLadspaPlugin

Since 0.4


ags_ladspa_manager_load_file ()

void
ags_ladspa_manager_load_file (gchar *filename);

Load filename specified plugin.

Parameters

filename

the filename of the plugin

 

Since 0.4


ags_ladspa_manager_load_default_directory ()

void
ags_ladspa_manager_load_default_directory
                               ();

Loads all available plugins.

Since 0.4


ags_ladspa_manager_get_instance ()

AgsLadspaManager *
ags_ladspa_manager_get_instance ();

Get instance.

Returns

the AgsLadspaManager

Since 0.4


ags_ladspa_manager_new ()

AgsLadspaManager *
ags_ladspa_manager_new ();

Creates an AgsLadspaManager

Returns

a new AgsLadspaManager

Since 0.4

Types and Values

enum AgsLadspaPluginFlags

Members

AGS_LADSPA_PLUGIN_IS_LOADED

   

struct AgsLadspaPlugin

struct AgsLadspaPlugin {
  guint flags;

  gchar *filename;
  void *plugin_so;
};