AgsRecallLadspa

AgsRecallLadspa — The object interfacing with LADSPA

Synopsis

#include <ags/audio/ags_recall_ladspa.h>

struct              AgsRecallLadspa;
struct              AgsRecallLadspaClass;
GList *             ags_recall_ladpsa_find              (GList *recall,
                                                         gchar *filename,
                                                         gchar *effect);
void                ags_recall_ladspa_float_to_short    (float *buffer,
                                                         signed short *destination,
                                                         guint buffer_size,
                                                         guint lines);
GList *             ags_recall_ladspa_load_ports        (AgsRecallLadspa *recall_ladspa);
AgsRecallLadspa *   ags_recall_ladspa_new               (AgsChannel *source,
                                                         gchar *filename,
                                                         gchar *effect,
                                                         guint index);
void                ags_recall_ladspa_short_to_float    (signed short *buffer,
                                                         float *destination,
                                                         guint buffer_size,
                                                         guint lines);

Description

AgsRecallLadspa provides LADSPA support.

Details

struct AgsRecallLadspa

struct AgsRecallLadspa {
  AgsRecallChannel recall_channel;

  gchar *filename;
  gchar *effect;
  guint index;

  LADSPA_Descriptor *plugin_descriptor;

  unsigned long *input_port;
  unsigned long input_lines;

  unsigned long *output_port;
  unsigned long output_lines;
};

struct AgsRecallLadspaClass

struct AgsRecallLadspaClass {
  AgsRecallChannelClass recall_channel;
};

ags_recall_ladpsa_find ()

GList *             ags_recall_ladpsa_find              (GList *recall,
                                                         gchar *filename,
                                                         gchar *effect);

Retrieve LADSPA recall.

recall :

a GList containing AgsRecall

filename :

plugin filename

effect :

effect's name

Returns :

Next match.

Since 0.4


ags_recall_ladspa_float_to_short ()

void                ags_recall_ladspa_float_to_short    (float *buffer,
                                                         signed short *destination,
                                                         guint buffer_size,
                                                         guint lines);

Convert data type.

buffer :

source

destination :

destination

buffer_size :

buffer_size

Since 0.4


ags_recall_ladspa_load_ports ()

GList *             ags_recall_ladspa_load_ports        (AgsRecallLadspa *recall_ladspa);

Set up LADSPA ports.

recall_ladspa :

an AgsRecallLadspa

Returns :

a GList containing AgsPort.

Since 0.4


ags_recall_ladspa_new ()

AgsRecallLadspa *   ags_recall_ladspa_new               (AgsChannel *source,
                                                         gchar *filename,
                                                         gchar *effect,
                                                         guint index);

Creates a AgsRecallLadspa

source :

the source

filename :

the LADSPA plugin filename

effect :

effect's name

index :

effect's index

Returns :

a new AgsRecallLadspa

Since 0.4


ags_recall_ladspa_short_to_float ()

void                ags_recall_ladspa_short_to_float    (signed short *buffer,
                                                         float *destination,
                                                         guint buffer_size,
                                                         guint lines);

Convert data type.

buffer :

source

destination :

destination

Since 0.4