AgsLadspaPlugin

AgsLadspaPlugin — The ladspa plugin class

Functions

Properties

guint unique-id Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsBasePlugin
        ╰── AgsLadspaPlugin

Includes

#include <ags/plugin/ags_ladspa_plugin.h>

Description

The AgsLadspaPlugin loads/unloads a Ladspa plugin.

Functions

AGS_LADSPA_PLUGIN_DESCRIPTOR()

#define AGS_LADSPA_PLUGIN_DESCRIPTOR(ptr) ((LADSPA_Descriptor *)(ptr))

ags_ladspa_plugin_new ()

AgsLadspaPlugin *
ags_ladspa_plugin_new (gchar *filename,
                       gchar *effect,
                       guint effect_index);

Creates an AgsLadspaPlugin

Parameters

filename

the plugin .so

 

effect

the effect's string representation

 

effect_index

the effect's index

 

Returns

a new AgsLadspaPlugin

Since: 1.0.0


AGS_IS_LADSPA_PLUGIN()

#define AGS_IS_LADSPA_PLUGIN(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LADSPA_PLUGIN))

AGS_LADSPA_PLUGIN()

#define AGS_LADSPA_PLUGIN(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LADSPA_PLUGIN, AgsLadspaPlugin))

AGS_LADSPA_PLUGIN_CLASS()

#define AGS_LADSPA_PLUGIN_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LADSPA_PLUGIN, AgsLadspaPluginClass))

AGS_LADSPA_PLUGIN_GET_CLASS()

#define AGS_LADSPA_PLUGIN_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LADSPA_PLUGIN, AgsLadspaPluginClass))

ags_ladspa_plugin_get_type ()

GType
ags_ladspa_plugin_get_type (void);

Types and Values

AGS_TYPE_LADSPA_PLUGIN

#define AGS_TYPE_LADSPA_PLUGIN                (ags_ladspa_plugin_get_type())

struct AgsLadspaPlugin

struct AgsLadspaPlugin;

struct AgsLadspaPluginClass

struct AgsLadspaPluginClass {
  AgsBasePluginClass base_plugin;
};

Property Details

The “unique-id” property

  “unique-id”                guint

The assigned unique-id.

Flags: Read / Write

Default value: 0

Since: 1.0.0