AgsRecallFactory

AgsRecallFactory — Factory pattern

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsRecallFactory

Implemented Interfaces

AgsRecallFactory implements AgsConnectable.

Includes

#include <ags/audio/ags_recall_factory.h>

Description

AgsRecallFactory instantiates and sets up recalls.

Functions

ags_recall_factory_create ()

GList *
ags_recall_factory_create (AgsAudio *audio,
                           AgsRecallContainer *play_container,
                           AgsRecallContainer *recall_container,
                           gchar *plugin_name,
                           guint start_audio_channel,
                           guint stop_audio_channel,
                           guint start_pad,
                           guint stop_pad,
                           guint create_flags,
                           guint recall_flags);

Instantiate AgsRecall by this factory.

Parameters

audio

an AgsAudio that should keep the recalls

 

play_container

an AgsRecallContainer to indetify what recall to use

 

recall_container

an AgsRecallContainer to indetify what recall to use

 

plugin_name

the plugin identifier to instantiate

 

start_audio_channel

the first audio channel to apply

 

stop_audio_channel

the last audio channel to apply

 

start_pad

the first pad to apply

 

stop_pad

the last pad to apply

 

create_flags

modify the behaviour of this function

 

recall_flags

flags to be set for AgsRecall

 

Returns

The available AgsPort objects of the plugin to modify.

Since: 1.0.0


ags_recall_factory_get_instance ()

AgsRecallFactory *
ags_recall_factory_get_instance ();

ags_recall_factory_new ()

AgsRecallFactory *
ags_recall_factory_new ();

Creates a AgsRecallFactory

Returns

a new AgsRecallFactory

Since: 1.0.0


AGS_IS_RECALL_FACTORY()

#define AGS_IS_RECALL_FACTORY(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL_FACTORY))

AGS_RECALL_FACTORY()

#define AGS_RECALL_FACTORY(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_FACTORY, AgsRecallFactory))

AGS_RECALL_FACTORY_CLASS()

#define AGS_RECALL_FACTORY_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_FACTORY, AgsRecallFactoryClass))

AGS_RECALL_FACTORY_GET_CLASS()

#define AGS_RECALL_FACTORY_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL_FACTORY, AgsRecallFactoryClass))

ags_recall_factory_get_type ()

GType
ags_recall_factory_get_type ();

Types and Values

enum AgsRecallFactoryCreateFlags

Enum values controlling instantiating the recall implementation.

Members

AGS_RECALL_FACTORY_OUTPUT

output related

 

AGS_RECALL_FACTORY_INPUT

input related

 

AGS_RECALL_FACTORY_REMAP

remap

 

AGS_RECALL_FACTORY_ADD

do add

 

AGS_RECALL_FACTORY_PLAY

bounded to play

 

AGS_RECALL_FACTORY_RECALL

bounded to recall

 

AGS_RECALL_FACTORY_BULK

operates on bulk mode

 

AGS_TYPE_RECALL_FACTORY

#define AGS_TYPE_RECALL_FACTORY                (ags_recall_factory_get_type())

struct AgsRecallFactory

struct AgsRecallFactory;

struct AgsRecallFactoryClass

struct AgsRecallFactoryClass {
  GObjectClass object;
};