AgsLv2Manager

AgsLv2Manager — Singleton pattern to organize LV2

Functions

Properties

gchar * locale Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsLv2Manager

Includes

#include <ags/plugin/ags_lv2_manager.h>

Description

The AgsLv2Manager loads/unloads LV2 plugins.

Functions

ags_lv2_manager_get_filenames ()

gchar **
ags_lv2_manager_get_filenames ();

Retrieve all filenames

Returns

a NULL-terminated array of filenames

Since: 0.4.3


ags_lv2_manager_find_lv2_plugin ()

AgsLv2Plugin *
ags_lv2_manager_find_lv2_plugin (gchar *filename,
                                 gchar *effect);

Lookup filename in loaded plugins.

Parameters

filename

the filename of the plugin

 

effect

the effect's name

 

Returns

the AgsLv2Plugin

Since: 0.4.3


ags_lv2_manager_load_file ()

void
ags_lv2_manager_load_file (AgsTurtle *turtle,
                           gchar *lv2_path,
                           gchar *filename);

Load filename specified plugin.

Parameters

turtle

the loaded turtle

 

lv2_path

the lv2 path

 

filename

the filename of the plugin

 

Since: 0.4.3


ags_lv2_manager_load_default_directory ()

void
ags_lv2_manager_load_default_directory
                               ();

Loads all available plugins.

Since: 0.4.3


ags_lv2_manager_get_instance ()

AgsLv2Manager *
ags_lv2_manager_get_instance ();

Get instance.

Returns

the AgsLv2Manager

Since: 0.4.3


ags_lv2_manager_new ()

AgsLv2Manager *
ags_lv2_manager_new (gchar *locale);

Creates an AgsLv2Manager

Parameters

locale

the default locale

 

Returns

a new AgsLv2Manager

Since: 0.4.3

Types and Values

AGS_LV2_MANAGER_DEFAULT_LOCALE

#define AGS_LV2_MANAGER_DEFAULT_LOCALE "en-gb\0"

Property Details

The “locale” property

  “locale”                   gchar *

The locale this lv2 manager is assigned to.

Flags: Read / Write

Default value: NULL

Since: 0.4.3