AgsAddEffect

AgsAddEffect — add effect object to context

Functions

Properties

AgsChannel * channel Read / Write
gchar * effect Read / Write
gchar * filename Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsAddEffect

Implemented Interfaces

AgsAddEffect implements AgsConnectable.

Includes

#include <ags/audio/task/ags_add_effect.h>

Description

The AgsAddEffect task adds the specified effect to AgsChannel.

Functions

ags_add_effect_new ()

AgsAddEffect *
ags_add_effect_new (AgsChannel *channel,
                    gchar *filename,
                    gchar *effect);

Creates an AgsAddEffect.

Parameters

channel

the AgsChannel to set up the effect

 

filename

the filename including effect

 

effect

the effect's name

 

Returns

an new AgsAddEffect.

Since: 1.0.0


AGS_ADD_EFFECT()

#define AGS_ADD_EFFECT(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_EFFECT, AgsAddEffect))

AGS_ADD_EFFECT_CLASS()

#define AGS_ADD_EFFECT_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_EFFECT, AgsAddEffectClass))

AGS_ADD_EFFECT_GET_CLASS()

#define AGS_ADD_EFFECT_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_EFFECT, AgsAddEffectClass))

AGS_IS_ADD_EFFECT()

#define AGS_IS_ADD_EFFECT(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_EFFECT))

ags_add_effect_get_type ()

GType
ags_add_effect_get_type ();

Types and Values

AGS_TYPE_ADD_EFFECT

#define AGS_TYPE_ADD_EFFECT                (ags_add_effect_get_type())

struct AgsAddEffect

struct AgsAddEffect;

struct AgsAddEffectClass

struct AgsAddEffectClass {
  AgsTaskClass task;
};

Property Details

The “channel” property

  “channel”                  AgsChannel *

The assigned AgsChannel

Flags: Read / Write

Since: 1.0.0


The “effect” property

  “effect”                   gchar *

The assigned effect.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “filename” property

  “filename”                 gchar *

The assigned filename.

Flags: Read / Write

Default value: NULL

Since: 1.0.0