AgsRecallLv2

AgsRecallLv2 — The object interfacing with LV2

Functions

Properties

guint atom-port Read / Write
guint bank Read / Write
guint event-port Read / Write
AgsLv2Plugin * plugin Read / Write
guint program Read / Write
AgsTurtle * turtle Read / Write
gchar * uri Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsRecall
        ╰── AgsRecallChannel
            ╰── AgsRecallLv2

Implemented Interfaces

AgsRecallLv2 implements AgsConnectable and AgsPlugin.

Includes

#include <ags/audio/ags_recall_lv2.h>

Description

AgsRecallLv2 provides LV2 support.

Functions

ags_recall_lv2_test_flags ()

gboolean
ags_recall_lv2_test_flags (AgsRecallLv2 *recall_lv2,
                           guint flags);

Test flags to be set on recall .

Parameters

recall_lv2

the AgsRecallLv2

 

flags

the flags

 

Returns

TRUE if flags are set, else FALSE

Since: 2.0.0


ags_recall_lv2_set_flags ()

void
ags_recall_lv2_set_flags (AgsRecallLv2 *recall_lv2,
                          guint flags);

Set flags.

Parameters

recall_lv2

the AgsRecallLv2

 

flags

the flags

 

Since: 2.0.0


ags_recall_lv2_unset_flags ()

void
ags_recall_lv2_unset_flags (AgsRecallLv2 *recall_lv2,
                            guint flags);

Unset flags.

Parameters

recall_lv2

the AgsRecallLv2

 

flags

the flags

 

Since: 2.0.0


ags_recall_lv2_load ()

void
ags_recall_lv2_load (AgsRecallLv2 *recall_lv2);

Set up LV2 handle.

Parameters

recall_lv2

the AgsRecallLv2

 

Since: 2.0.0


ags_recall_lv2_load_ports ()

GList *
ags_recall_lv2_load_ports (AgsRecallLv2 *recall_lv2);

Set up LV2 ports.

Parameters

recall_lv2

the AgsRecallLv2

 

Returns

a GList containing AgsPort

Since: 2.0.0


ags_recall_lv2_load_conversion ()

void
ags_recall_lv2_load_conversion (AgsRecallLv2 *recall_lv2,
                                GObject *port,
                                gpointer plugin_port);

Loads conversion object by using plugin_port and sets in on port .

Parameters

recall_lv2

the AgsRecallLv2

 

port

the AgsPort

 

plugin_port

the AgsPluginPort

 

Since: 2.0.0


ags_recall_lv2_find ()

GList *
ags_recall_lv2_find (GList *recall,
                     gchar *filename,
                     gchar *uri);

Retrieve LV2 recall.

Parameters

recall

the GList containing AgsRecall

 

filename

plugin filename

 

effect

effect's name

 

Returns

Next matching GList or NULL

Since: 2.0.0


ags_recall_lv2_new ()

AgsRecallLv2 *
ags_recall_lv2_new (AgsChannel *source,
                    AgsTurtle *turtle,
                    gchar *filename,
                    gchar *effect,
                    gchar *uri,
                    guint effect_index);

Creates a new instance of AgsRecallLv2

Parameters

source

the AgsChannel as source

 

turtle

the RDF turtle file

 

filename

the LV2 plugin filename

 

effect

the LV2 plugin effect

 

uri

uri's name

 

effect_index

effect's index

 

Returns

the new AgsRecallLv2

Since: 2.0.0


AGS_IS_RECALL_LV2()

#define AGS_IS_RECALL_LV2(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL_LV2))

AGS_RECALL_LV2()

#define AGS_RECALL_LV2(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_LV2, AgsRecallLv2))

AGS_RECALL_LV2_CLASS()

#define AGS_RECALL_LV2_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_LV2, AgsRecallLv2Class))

AGS_RECALL_LV2_GET_CLASS()

#define AGS_RECALL_LV2_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL_LV2, AgsRecallLv2Class))

ags_recall_lv2_get_type ()

GType
ags_recall_lv2_get_type ();

Types and Values

enum AgsRecallLv2FLags

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

Members

AGS_RECALL_LV2_HAS_EVENT_PORT

has event port

 

AGS_RECALL_LV2_HAS_ATOM_PORT

has atom port

 

AGS_RECALL_LV2_HAS_WORKER

has worker

 

AGS_TYPE_RECALL_LV2

#define AGS_TYPE_RECALL_LV2                (ags_recall_lv2_get_type())

struct AgsRecallLv2

struct AgsRecallLv2;

struct AgsRecallLv2Class

struct AgsRecallLv2Class {
  AgsRecallChannelClass recall_channel;
};

Property Details

The “atom-port” property

  “atom-port”                guint

The atom port index.

Flags: Read / Write

Default value: 0

Since: 2.0.0


The “bank” property

  “bank”                     guint

The selected bank.

Flags: Read / Write

Default value: 0

Since: 2.0.0


The “event-port” property

  “event-port”               guint

The event port index.

Flags: Read / Write

Default value: 0

Since: 2.0.0


The “plugin” property

  “plugin”                   AgsLv2Plugin *

The assigned plugin.

Flags: Read / Write

Since: 2.1.53


The “program” property

  “program”                  guint

The selected program.

Flags: Read / Write

Default value: 0

Since: 2.0.0


The “turtle” property

  “turtle”                   AgsTurtle *

The assigned turtle.

Flags: Read / Write

Since: 2.0.0


The “uri” property

  “uri”                      gchar *

The uri's name.

Flags: Read / Write

Default value: NULL

Since: 2.0.0