AgsDssiPlugin

AgsDssiPlugin — The dssi plugin class

Functions

Properties

gchar * program Read / Write
guint unique-id Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── AgsBasePlugin
        ╰── AgsDssiPlugin

Includes

#include <ags/plugin/ags_dssi_plugin.h>

Description

The AgsDssiPlugin loads/unloads a Dssi plugin.

Functions

AGS_DSSI_PLUGIN_DESCRIPTOR()

#define AGS_DSSI_PLUGIN_DESCRIPTOR(ptr) ((DSSI_Descriptor *)(ptr))

ags_dssi_plugin_change_program ()

void
ags_dssi_plugin_change_program (AgsDssiPlugin *dssi_plugin,
                                gpointer ladspa_handle,
                                guint bank_index,
                                guint program_index);

ags_dssi_plugin_new ()

AgsDssiPlugin *
ags_dssi_plugin_new (gchar *filename,
                     gchar *effect,
                     guint effect_index);

Creates an AgsDssiPlugin

Parameters

filename

the plugin .so

 

effect

the effect's string representation

 

effect_index

the effect's index

 

Returns

a new AgsDssiPlugin

Since: 1.0.0


AGS_DSSI_PLUGIN()

#define AGS_DSSI_PLUGIN(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DSSI_PLUGIN, AgsDssiPlugin))

AGS_DSSI_PLUGIN_CLASS()

#define AGS_DSSI_PLUGIN_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DSSI_PLUGIN, AgsDssiPluginClass))

AGS_DSSI_PLUGIN_GET_CLASS()

#define AGS_DSSI_PLUGIN_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_DSSI_PLUGIN, AgsDssiPluginClass))

AGS_IS_DSSI_PLUGIN()

#define AGS_IS_DSSI_PLUGIN(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_DSSI_PLUGIN))

ags_dssi_plugin_get_type ()

GType
ags_dssi_plugin_get_type (void);

Types and Values

AGS_TYPE_DSSI_PLUGIN

#define AGS_TYPE_DSSI_PLUGIN                (ags_dssi_plugin_get_type())

struct AgsDssiPlugin

struct AgsDssiPlugin;

struct AgsDssiPluginClass

struct AgsDssiPluginClass {
  AgsBasePluginClass base_plugin;

  void (*change_program)(AgsDssiPlugin *dssi_plugin,
			 gpointer ladspa_handle,
			 guint bank_index,
			 guint program_index);
};

Property Details

The “program” property

  “program”                  gchar *

The program this plugin is located in.

Flags: Read / Write

Default value: NULL


The “unique-id” property

  “unique-id”                guint

The assigned unique-id.

Flags: Read / Write

Default value: 0

Since: 1.0.0

Signal Details

The “change-program” signal

void
user_function (AgsDssiPlugin *dssi_plugin,
               gpointer       ladspa_handle,
               guint          bank,
               guint          program,
               gpointer       user_data)

The ::change-program signal creates a new instance of plugin.

Parameters

dssi_plugin

the plugin to change-program

 

ladspa_handle

the LADSPA handle

 

bank

the bank number

 

program

the program number

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 1.0.0