AgsRecallContainer

AgsRecallContainer — Container to group recalls

Functions

Properties

AgsRecallAudio * recall-audio Read / Write
gpointer recall-audio-run Read / Write
GType * recall-audio-run-type Read / Write
GType * recall-audio-type Read / Write
gpointer recall-channel Read / Write
gpointer recall-channel-run Read / Write
GType * recall-channel-run-type Read / Write
GType * recall-channel-type Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsRecallContainer

Implemented Interfaces

AgsRecallContainer implements AgsConnectable.

Includes

#include <ags/audio/ags_recall_container.h>

Description

AgsRecallContainer groups recalls of different context.

Functions

AGS_RECALL_CONTAINER_GET_OBJ_MUTEX()

#define AGS_RECALL_CONTAINER_GET_OBJ_MUTEX(obj) (((AgsRecallContainer *) obj)->obj_mutex)

ags_recall_container_get_class_mutex ()

pthread_mutex_t *
ags_recall_container_get_class_mutex ();

Use this function's returned mutex to access mutex fields.

Returns

the class mutex

Since: 2.0.0


ags_recall_container_test_flags ()

gboolean
ags_recall_container_test_flags (AgsRecallContainer *recall_container,
                                 guint flags);

Test flags to be set on recall_container .

Parameters

recall_container

the AgsRecallContainer

 

flags

the flags

 

Returns

TRUE if flags are set, else FALSE

Since: 2.0.0


ags_recall_container_set_flags ()

void
ags_recall_container_set_flags (AgsRecallContainer *recall_container,
                                guint flags);

Set flags.

Parameters

recall_container

the AgsRecallContainer

 

flags

the flags

 

Since: 2.0.0


ags_recall_container_unset_flags ()

void
ags_recall_container_unset_flags (AgsRecallContainer *recall_container,
                                  guint flags);

Unset flags.

Parameters

recall_container

the AgsRecallContainer

 

flags

the flags

 

Since: 2.0.0


ags_recall_container_add ()

void
ags_recall_container_add (AgsRecallContainer *recall_container,
                          AgsRecall *recall);

Add recall to recall_container .

Parameters

recall_container

the AgsRecallContainer

 

recall

the AgsRecall

 

Since: 2.0.0


ags_recall_container_remove ()

void
ags_recall_container_remove (AgsRecallContainer *recall_container,
                             AgsRecall *recall);

Remove recall from recall_container .

Parameters

recall_container

the AgsRecallContainer

 

recall

the AgsRecall

 

Since: 2.0.0


ags_recall_container_get_recall_audio ()

AgsRecall *
ags_recall_container_get_recall_audio (AgsRecallContainer *recall_container);

Retrieve recall audio of container.

Parameters

recall_container

the AgsRecallContainer

 

Returns

the AgsRecallAudio

Since: 2.0.0


ags_recall_container_get_recall_audio_run ()

GList *
ags_recall_container_get_recall_audio_run
                               (AgsRecallContainer *recall_container);

Retrieve recall audio run of container.

Parameters

recall_container

the AgsRecallContainer

 

Returns

the AgsRecallAudioRun as list

Since: 2.0.0


ags_recall_container_get_recall_channel ()

GList *
ags_recall_container_get_recall_channel
                               (AgsRecallContainer *recall_container);

Retrieve the recall channel of container.

Parameters

recall_container

the AgsRecallContainer

 

Returns

the AgsRecallChannel

Since: 2.0.0


ags_recall_container_get_recall_channel_run ()

GList *
ags_recall_container_get_recall_channel_run
                               (AgsRecallContainer *recall_container);

Retrieve the recall channel run of container.

Parameters

recall_container

the AgsRecallContainer

 

Returns

the AgsRecall

Since: 2.0.0


ags_recall_container_find ()

GList *
ags_recall_container_find (GList *recall_container,
                           GType type,
                           guint find_flags,
                           AgsRecallID *recall_id);

Finds AgsRecall for appropriate search criteria.

Parameters

recall_container

the AgsRecallContainer

 

type

recall type

 

find_flags

search mask

 

recall_id

an AgsRecallID

 

Returns

the matching recalls

Since: 2.0.0


ags_recall_container_new ()

AgsRecallContainer *
ags_recall_container_new ();

Create a new instance of AgsRecallContainer

Returns

the new AgsRecallContainer

Since: 2.0.0


AGS_IS_RECALL_CONTAINER()

#define AGS_IS_RECALL_CONTAINER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL_CONTAINER))

AGS_RECALL_CONTAINER()

#define AGS_RECALL_CONTAINER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_CONTAINER, AgsRecallContainer))

AGS_RECALL_CONTAINER_CLASS()

#define AGS_RECALL_CONTAINER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_CONTAINER, AgsRecallContainerClass))

AGS_RECALL_CONTAINER_GET_CLASS()

#define AGS_RECALL_CONTAINER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL_CONTAINER, AgsRecallContainerClass))

ags_recall_container_get_type ()

GType
ags_recall_container_get_type ();

Types and Values

enum AgsRecallContainerFlags

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

Members

AGS_RECALL_CONTAINER_ADDED_TO_REGISTRY

add to registry

 

AGS_RECALL_CONTAINER_CONNECTED

indicates the recall container was connected by calling AgsConnectable::connect()

 

AGS_RECALL_CONTAINER_PLAY

bound to play context

 

enum AgsRecallContainerFindFlags

Enum values to specify find criteria.

Members

AGS_RECALL_CONTAINER_FIND_TYPE

find type

 

AGS_RECALL_CONTAINER_FIND_TEMPLATE

find template

 

AGS_RECALL_CONTAINER_FIND_RECALL_ID

find recall id

 

AGS_TYPE_RECALL_CONTAINER

#define AGS_TYPE_RECALL_CONTAINER                (ags_recall_container_get_type())

struct AgsRecallContainer

struct AgsRecallContainer;

struct AgsRecallContainerClass

struct AgsRecallContainerClass {
  GObjectClass object;
};

Property Details

The “recall-audio” property

  “recall-audio”             AgsRecallAudio *

The associated recall within audio context.

Flags: Read / Write

Since: 2.0.0


The “recall-audio-run” property

  “recall-audio-run”         gpointer

The associated recall within dynamic audio context.

Flags: Read / Write

Since: 2.0.0


The “recall-audio-run-type” property

  “recall-audio-run-type”    GType *

The associated recall type within dynamic audio context.

Flags: Read / Write

Allowed values: void

Since: 2.0.0


The “recall-audio-type” property

  “recall-audio-type”        GType *

The associated recall type within audio context.

Flags: Read / Write

Allowed values: void

Since: 2.0.0


The “recall-channel” property

  “recall-channel”           gpointer

The associated recall within channel context.

Flags: Read / Write

Since: 2.0.0


The “recall-channel-run” property

  “recall-channel-run”       gpointer

The associated recall within dynamic channel context.

Flags: Read / Write

Since: 2.0.0


The “recall-channel-run-type” property

  “recall-channel-run-type”  GType *

The associated recall type within dynamic channel context.

Flags: Read / Write

Allowed values: void

Since: 2.0.0


The “recall-channel-type” property

  “recall-channel-type”      GType *

The associated recall type within channel context.

Flags: Read / Write

Allowed values: void

Since: 2.0.0