Top |
#define | AGS_RECYCLING_CONTEXT_GET_OBJ_MUTEX() |
GList * | ags_recycling_context_find_scope () |
void | ags_recycling_context_replace () |
void | ags_recycling_context_add () |
void | ags_recycling_context_remove () |
void | ags_recycling_context_insert () |
AgsRecyclingContext * | ags_recycling_context_get_toplevel () |
gint | ags_recycling_context_find () |
gint | ags_recycling_context_find_child () |
gint | ags_recycling_context_find_parent () |
void | ags_recycling_context_add_child () |
void | ags_recycling_context_remove_child () |
GList * | ags_recycling_context_get_child_recall_id () |
AgsRecyclingContext * | ags_recycling_context_reset_recycling () |
AgsRecyclingContext * | ags_recycling_context_new () |
gpointer | child | Read / Write |
guint64 | length | Read / Write |
AgsRecyclingContext * | parent | Read / Write |
AgsRecallID * | recall-id | Read / Write |
AgsRecyclingContext organizes AgsRecycling objects as dynamic context within nested tree.
This object is only to reference the current recycling context. This may be replaced by another
recycling context as calling ags_channel_set_link()
.
Further it provides the parent
property, if this is NULL
your audio signal won't be recycled
anymore. This means you are going to copy the recycling's audio signals to soundcard. As it is not NULL
you are entering recursion.
There is a strong relation to AgsRecallID.
#define AGS_RECYCLING_CONTEXT_GET_OBJ_MUTEX(obj) (&(((AgsRecyclingContext *) obj)->obj_mutex))
GList * ags_recycling_context_find_scope (GList *recycling_context
,gint sound_scope
);
Find matching sound_scope
in recycling_context
.
recycling_context |
the GList containing AgsRecyclingContext. |
[element-type AgsAudio.RecyclingContext][transfer none] |
sound_scope |
the sound scope |
the matching GList or NULL
if not found.
[element-type AgsAudio.RecyclingContext][transfer none]
Since: 3.0.0
void ags_recycling_context_replace (AgsRecyclingContext *recycling_context
,AgsRecycling *recycling
,gint position
);
Replaces one recycling entry in a context.
Since: 3.0.0
void ags_recycling_context_add (AgsRecyclingContext *recycling_context
,AgsRecycling *recycling
);
Adds a recycling to a context.
Since: 3.0.0
void ags_recycling_context_remove (AgsRecyclingContext *recycling_context
,AgsRecycling *recycling
);
Removes a recycling in a context.
Since: 3.0.0
void ags_recycling_context_insert (AgsRecyclingContext *recycling_context
,AgsRecycling *recycling
,gint position
);
Inserts a recycling to a context.
Since: 3.0.0
AgsRecyclingContext *
ags_recycling_context_get_toplevel (AgsRecyclingContext *recycling_context
);
Iterates the tree up to highest level.
Since: 3.0.0
gint ags_recycling_context_find (AgsRecyclingContext *recycling_context
,AgsRecycling *recycling
);
Find position of recycling within array.
Since: 3.0.0
gint ags_recycling_context_find_child (AgsRecyclingContext *recycling_context
,AgsRecycling *recycling
);
Find position of recycling within arrays.
Since: 3.0.0
gint ags_recycling_context_find_parent (AgsRecyclingContext *recycling_context
,AgsRecycling *recycling
);
Find position of recycling within array.
Since: 3.0.0
void ags_recycling_context_add_child (AgsRecyclingContext *parent
,AgsRecyclingContext *child
);
Adds a recycling context as child.
Since: 3.0.0
void ags_recycling_context_remove_child (AgsRecyclingContext *parent
,AgsRecyclingContext *child
);
Removes a recycling context of its parent.
Since: 3.0.0
GList *
ags_recycling_context_get_child_recall_id
(AgsRecyclingContext *recycling_context
);
Retrieve all child recall ids.
Since: 3.0.0
AgsRecyclingContext * ags_recycling_context_reset_recycling (AgsRecyclingContext *recycling_context
,AgsRecycling *old_first_recycling
,AgsRecycling *old_last_recycling
,AgsRecycling *new_first_recycling
,AgsRecycling *new_last_recycling
);
Modify recycling of context.
recycling_context |
||
old_first_recycling |
the first recycling to replace |
|
old_last_recycling |
the last recycling to replace |
|
new_first_recycling |
the first recycling to insert |
|
new_last_recycling |
the last recycling to insert |
Since: 3.0.0
AgsRecyclingContext *
ags_recycling_context_new (guint64 length
);
Creates a AgsRecyclingContext, boundaries are specified by length
Since: 3.0.0
Enum values to control the behavior or indicate internal state of AgsRecyclingContext by enable/disable as flags.
“child”
property “child” gpointer
The child recycling contexts.
[transfer full]
Owner: AgsRecyclingContext
Flags: Read / Write
Since: 3.0.0
“length”
property “length” guint64
Boundary length.
Owner: AgsRecyclingContext
Flags: Read / Write
Default value: 0
Since: 3.0.0
“parent”
property“parent” AgsRecyclingContext *
The parent recycling context within tree.
Owner: AgsRecyclingContext
Flags: Read / Write
Since: 3.0.0
“recall-id”
property“recall-id” AgsRecallID *
The assigned AgsRecallID.
Owner: AgsRecyclingContext
Flags: Read / Write
Since: 3.0.0