AgsLv2Preset

AgsLv2Preset — task thread

Functions

Properties

gchar * bank Read / Write
AgsLv2Plugin * lv2-plugin Read / Write
gchar * preset-label Read / Write
AgsTurtle * turtle Read / Write
gchar * uri Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsLv2Preset

Implemented Interfaces

AgsLv2Preset implements AgsConnectable.

Includes

#include <ags/plugin/ags_lv2_preset.h>

Description

The AgsLv2Preset handles LV2 presets mapped to a bank.

Functions

AGS_LV2_PORT_PRESET()

#define AGS_LV2_PORT_PRESET(ptr) ((AgsLv2PortPreset*)(ptr))

ags_lv2_port_preset_alloc ()

AgsLv2PortPreset *
ags_lv2_port_preset_alloc (gchar *port_symobl,
                           GType port_type);

ags_lv2_port_preset_free ()

void
ags_lv2_port_preset_free (AgsLv2PortPreset *lv2_port_preset);

ags_lv2_preset_parse_turtle ()

void
ags_lv2_preset_parse_turtle (AgsLv2Preset *lv2_preset);

ags_lv2_preset_find_preset_label ()

GList *
ags_lv2_preset_find_preset_label (GList *lv2_preset,
                                  gchar *preset_label);

Find preset_label within lv2_preset .

Parameters

lv2_preset

the GList containing AgsLv2Preset

 

preset_label

the preset label

 

Returns

the matching GList containing AgsLv2Preset

Since: 1.0.0.8


ags_lv2_preset_new ()

AgsLv2Preset *
ags_lv2_preset_new (GObject *lv2_plugin,
                    AgsTurtle *turtle,
                    gchar *uri);

Create a new instance of AgsLv2Preset.

Parameters

lv2_plugin

an AgsLv2Plugin

 

turtle

the AgsTurtle

 

uri

the URI as string

 

Returns

the new AgsLv2Preset

Since: 1.0.0.8


AGS_IS_LV2_PRESET()

#define AGS_IS_LV2_PRESET(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LV2_PRESET))

AGS_LV2_PRESET()

#define AGS_LV2_PRESET(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LV2_PRESET, AgsLv2Preset))

AGS_LV2_PRESET_CLASS()

#define AGS_LV2_PRESET_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LV2_PRESET, AgsLv2PresetClass))

AGS_LV2_PRESET_GET_CLASS()

#define AGS_LV2_PRESET_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LV2_PRESET, AgsLv2PresetClass))

ags_lv2_preset_get_type ()

GType
ags_lv2_preset_get_type (void);

Types and Values

enum AgsLv2PresetFlags

Enum values to control the behavior or indicate internal state of AgsLv2Preset by enable/disable as flags.

Members

AGS_LV2_PRESET_CONNECTED

indicates the port was connected by calling AgsConnectable::connect()

 

struct AgsLv2PortPreset

struct AgsLv2PortPreset {
  gchar *port_symbol;

  GValue *port_value;
};

AGS_TYPE_LV2_PRESET

#define AGS_TYPE_LV2_PRESET                (ags_lv2_preset_get_type())

struct AgsLv2Preset

struct AgsLv2Preset;

struct AgsLv2PresetClass

struct AgsLv2PresetClass {
  GObjectClass gobject;
};

Property Details

The “bank” property

  “bank”                     gchar *

The assigned bank.

Flags: Read / Write

Default value: NULL

Since: 1.0.0.8


The “lv2-plugin” property

  “lv2-plugin”               AgsLv2Plugin *

The assigned lv2 plugin.

Flags: Read / Write

Since: 1.0.0.8


The “preset-label” property

  “preset-label”             gchar *

The preset label.

Flags: Read / Write

Default value: NULL

Since: 1.0.0.8


The “turtle” property

  “turtle”                   AgsTurtle *

The assigned turtle.

Flags: Read / Write

Since: 1.0.0.8


The “uri” property

  “uri”                      gchar *

The assigned uri.

Flags: Read / Write

Default value: NULL

Since: 1.0.0.8