AgsLadspaManager

AgsLadspaManager — Singleton pattern to organize LADSPA

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsLadspaManager

Includes

#include <ags/plugin/ags_ladspa_manager.h>

Description

The AgsLadspaManager loads/unloads LADSPA plugins.

Functions

ags_ladspa_manager_get_default_path ()

gchar **
ags_ladspa_manager_get_default_path ();

Get ladspa manager default plugin path.

Returns

the plugin default search path as a string vector

Since: 1.0.0


ags_ladspa_manager_set_default_path ()

void
ags_ladspa_manager_set_default_path (gchar **default_path);

Set ladspa manager default plugin path.

Parameters

default_path

the string vector array to use as default path

 

Since: 1.0.0


ags_ladspa_manager_get_filenames ()

gchar **
ags_ladspa_manager_get_filenames (AgsLadspaManager *ladspa_manager);

Retrieve all filenames

Parameters

ladspa_manager

the AgsLadspaManager

 

Returns

a NULL-terminated array of filenames

Since: 1.0.0


ags_ladspa_manager_find_ladspa_plugin ()

AgsLadspaPlugin *
ags_ladspa_manager_find_ladspa_plugin (AgsLadspaManager *ladspa_manager,
                                       gchar *filename,
                                       gchar *effect);

Lookup filename in loaded plugins.

Parameters

ladspa_manager

the AgsLadspaManager

 

filename

the filename of the plugin

 

effect

the effect's name

 

Returns

the AgsLadspaPlugin

Since: 1.0.0


ags_ladspa_manager_load_blacklist ()

void
ags_ladspa_manager_load_blacklist (AgsLadspaManager *ladspa_manager,
                                   gchar *blacklist_filename);

Load blacklisted plugin filenames.

Parameters

ladspa_manager

the AgsLadspaManager

 

blacklist_filename

the filename as string

 

Since: 1.0.0


ags_ladspa_manager_load_file ()

void
ags_ladspa_manager_load_file (AgsLadspaManager *ladspa_manager,
                              gchar *ladspa_path,
                              gchar *filename);

Load filename specified plugin.

Parameters

ladspa_manager

the AgsLadspaManager

 

ladspa_path

the LADSPA path

 

filename

the filename of the plugin

 

Since: 1.0.0


ags_ladspa_manager_load_default_directory ()

void
ags_ladspa_manager_load_default_directory
                               (AgsLadspaManager *ladspa_manager);

Loads all available plugins.

Parameters

ladspa_manager

the AgsLadspaManager

 

Since: 1.0.0


ags_ladspa_manager_get_instance ()

AgsLadspaManager *
ags_ladspa_manager_get_instance ();

Get instance.

Returns

the AgsLadspaManager

Since: 1.0.0


ags_ladspa_manager_new ()

AgsLadspaManager *
ags_ladspa_manager_new ();

Creates an AgsLadspaManager

Returns

a new AgsLadspaManager

Since: 1.0.0


AGS_IS_LADSPA_MANAGER()

#define AGS_IS_LADSPA_MANAGER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LADSPA_MANAGER))

AGS_LADSPA_MANAGER()

#define AGS_LADSPA_MANAGER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LADSPA_MANAGER, AgsLadspaManager))

AGS_LADSPA_MANAGER_CLASS()

#define AGS_LADSPA_MANAGER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LADSPA_MANAGER, AgsLadspaManagerClass))

AGS_LADSPA_MANAGER_GET_CLASS()

#define AGS_LADSPA_MANAGER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LADSPA_MANAGER, AgsLadspaManagerClass))

ags_ladspa_manager_get_type ()

GType
ags_ladspa_manager_get_type (void);

Types and Values

AGS_TYPE_LADSPA_MANAGER

#define AGS_TYPE_LADSPA_MANAGER                (ags_ladspa_manager_get_type())

struct AgsLadspaManager

struct AgsLadspaManager;

struct AgsLadspaManagerClass

struct AgsLadspaManagerClass {
  GObjectClass object;
};