Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_PLAYBACK_GET_OBJ_MUTEX() |
pthread_mutex_t * | ags_playback_get_class_mutex () |
gboolean | ags_playback_test_flags () |
void | ags_playback_set_flags () |
void | ags_playback_unset_flags () |
void | ags_playback_set_channel_thread () |
AgsThread * | ags_playback_get_channel_thread () |
void | ags_playback_set_recall_id () |
AgsRecallID * | ags_playback_get_recall_id () |
AgsPlayback * | ags_playback_find_channel () |
AgsPlayback * | ags_playback_new () |
#define | AGS_IS_PLAYBACK() |
#define | AGS_PLAYBACK() |
#define | AGS_PLAYBACK_CLASS() |
#define | AGS_PLAYBACK_GET_CLASS() |
GType | ags_playback_get_type () |
guint | audio-channel | Read / Write |
AgsChannel * | channel | Read / Write |
AgsNote * | play-note | Read / Write |
AgsPlaybackDomain * | playback-domain | Read / Write |
enum | AgsPlaybackFlags |
#define | AGS_TYPE_PLAYBACK |
struct | AgsPlayback |
struct | AgsPlaybackClass |
#define AGS_PLAYBACK_GET_OBJ_MUTEX(obj) (((AgsPlayback *) obj)->obj_mutex)
pthread_mutex_t *
ags_playback_get_class_mutex ();
Use this function's returned mutex to access mutex fields.
Since: 2.0.0
gboolean ags_playback_test_flags (AgsPlayback *playback
,guint flags
);
Test flags
to be set on playback
.
Since: 2.0.0
void ags_playback_set_flags (AgsPlayback *playback
,guint flags
);
Set flags.
Since: 2.0.0
void ags_playback_unset_flags (AgsPlayback *playback
,guint flags
);
Unset flags.
Since: 2.0.0
void ags_playback_set_channel_thread (AgsPlayback *playback
,AgsThread *thread
,gint sound_scope
);
Set channel thread of appropriate scope.
playback |
the AgsPlayback |
|
thread |
the AgsChannelThread |
|
sound_scope |
the scope of the thread to set |
Since: 2.0.0
AgsThread * ags_playback_get_channel_thread (AgsPlayback *playback
,gint sound_scope
);
Get channel thread of appropriate scope.
Since: 2.0.0
void ags_playback_set_recall_id (AgsPlayback *playback
,AgsRecallID *recall_id
,gint sound_scope
);
Set recall id of appropriate scope.
playback |
the AgsPlayback |
|
recall_id |
the AgsRecallID |
|
sound_scope |
the scope of the recall id to set |
Since: 2.0.0
AgsRecallID * ags_playback_get_recall_id (AgsPlayback *playback
,gint sound_scope
);
Get recall id of appropriate scope.
Since: 2.0.0
AgsPlayback * ags_playback_find_channel (GList *playback
,GObject *channel
);
AgsPlayback *
ags_playback_new (GObject *channel
);
Instantiate a playback object and assign channel
.
Since: 2.0.0
#define AGS_IS_PLAYBACK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAYBACK))
#define AGS_PLAYBACK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAYBACK, AgsPlayback))
#define AGS_PLAYBACK_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PLAYBACK, AgsPlayback))
#define AGS_PLAYBACK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_PLAYBACK, AgsPlaybackClass))
Enum values to control the behavior or indicate internal state of AgsPlayback by enable/disable as flags.
“audio-channel”
property“audio-channel” guint
The assigned audio channel.
Flags: Read / Write
Default value: 0
Since: 2.0.0
“channel”
property“channel” AgsChannel *
The assigned channel.
Flags: Read / Write
Since: 2.0.0
“playback-domain”
property“playback-domain” AgsPlaybackDomain *
The parent playback domain.
Flags: Read / Write
Since: 2.0.0