| Advanced Gtk+ Sequencer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <ags/audio/ags_recall_id.h> struct AgsRecallID; struct AgsRecallIDClass; enum AgsRecallIDFlags;GList * ags_recall_id_add (,GList *recall_id_listAgsRecallID *recall_id); AgsRecallID * ags_recall_id_find_parent_recycling_container (,GList *recall_id_listAgsRecyclingContainer *parent_recycling_container); AgsRecallID * ags_recall_id_find_recycling_container (,GList *recall_id_listAgsRecyclingContainer *recycling_container);gboolean ags_recall_id_get_run_stage (AgsRecallID *id,); AgsRecallID * ags_recall_id_new (gint stageAgsRecycling *recycling);void ags_recall_id_set_run_stage (AgsRecallID *recall_id,);gint stagevoid ags_recall_id_unset_run_stage (AgsRecallID *recall_id,);gint stage
struct AgsRecallID {
GObject object;
guint flags;
GObject *recycling;
AgsRecyclingContainer *recycling_container;
};
typedef enum {
AGS_RECALL_ID_PLAYBACK = 1,
AGS_RECALL_ID_SEQUENCER = 1 << 1,
AGS_RECALL_ID_NOTATION = 1 << 2,
AGS_RECALL_ID_DUPLICATE = 1 << 3,
AGS_RECALL_ID_RESOLVE = 1 << 4,
AGS_RECALL_ID_INIT_PRE = 1 << 5,
AGS_RECALL_ID_INIT_INTER = 1 << 6,
AGS_RECALL_ID_INIT_POST = 1 << 7,
AGS_RECALL_ID_PRE = 1 << 8,
AGS_RECALL_ID_INTER = 1 << 9,
AGS_RECALL_ID_POST = 1 << 10,
AGS_RECALL_ID_CANCEL = 1 << 11,
} AgsRecallIDFlags;
GList * ags_recall_id_add (,GList *recall_id_listAgsRecallID *recall_id);
Adds an AgsRecallID with given properties to the passed
|
the |
|
the AgsRecallID to add |
Returns : |
the newly allocated |
Since 0.4
AgsRecallID * ags_recall_id_find_parent_recycling_container (,GList *recall_id_listAgsRecyclingContainer *parent_recycling_container);
Retrieve recall id by recycling container.
|
a |
|
the AgsRecyclingContainer to match |
Returns : |
Matching recall id. |
Since 0.4
AgsRecallID * ags_recall_id_find_recycling_container (,GList *recall_id_listAgsRecyclingContainer *recycling_container);
Retrieve recall id by recycling container.
|
a |
|
the AgsRecyclingContainer to match |
Returns : |
Matching recall id. |
Since 0.4
gboolean ags_recall_id_get_run_stage (AgsRecallID *id,);gint stage
Check if a run stage already has been passed for current run. This function is intended to handle AGS_AUDIO_ASYNC correctly.
|
the AgsRecallID to check |
|
the current run stage to check against |
Returns : |
TRUEFALSE |
Since 0.3
AgsRecallID * ags_recall_id_new (AgsRecycling *recycling);
Creates a AgsRecallID, assigned to recycling
Returns : |
a new AgsRecallID |
Since 0.3
void ags_recall_id_set_run_stage (AgsRecallID *recall_id,);gint stage
Marks the run stage to be passed for audio channel.
|
the AgsRecallID which has been passed |
|
the run stage the networked channels are in |
Since 0.3
void ags_recall_id_unset_run_stage (AgsRecallID *recall_id,);gint stage
Unmarks the run stage to be passed for audio channel.
|
the AgsRecallID which has been passed |
|
the run stage the networked channels are in |
Since 0.3