Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_PLAYBACK_GET_OBJ_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_IS_PLAYBACK_CLASS() |
#define | AGS_PLAYBACK() |
#define | AGS_PLAYBACK_CLASS() |
#define | AGS_PLAYBACK_GET_CLASS() |
GType | ags_playback_flags_get_type () |
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 |
AgsPlayback represents a context to output. It provides you the channel processing threads per AgsSoundScope.
The assigned AgsChannelThread calls ags_channel_recursive_run_stage()
for you.
#define AGS_PLAYBACK_GET_OBJ_MUTEX(obj) (&(((AgsPlayback *) obj)->obj_mutex))
gboolean ags_playback_test_flags (AgsPlayback *playback
,guint flags
);
Test flags
to be set on playback
.
Since: 3.0.0
void ags_playback_set_flags (AgsPlayback *playback
,guint flags
);
Set flags.
Since: 3.0.0
void ags_playback_unset_flags (AgsPlayback *playback
,guint flags
);
Unset flags.
Since: 3.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: 3.0.0
AgsThread * ags_playback_get_channel_thread (AgsPlayback *playback
,gint sound_scope
);
Get channel thread of appropriate scope.
Since: 3.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: 3.0.0
AgsRecallID * ags_playback_get_recall_id (AgsPlayback *playback
,gint sound_scope
);
Get recall id of appropriate scope.
Since: 3.0.0
AgsPlayback * ags_playback_find_channel (GList *playback
,GObject *channel
);
Find channel
in playback
.
playback |
the GList containing AgsPlayback. |
[element-type AgsAudio.Playback][transfer none] |
channel |
the AgsChannel |
Since: 3.0.0
AgsPlayback *
ags_playback_new (GObject *channel
);
Instantiate a playback object and assign channel
.
Since: 3.0.0
#define AGS_IS_PLAYBACK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAYBACK))
#define AGS_IS_PLAYBACK_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), 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.
Owner: AgsPlayback
Flags: Read / Write
Default value: 0
Since: 3.0.0
“channel”
property“channel” AgsChannel *
The assigned channel.
Owner: AgsPlayback
Flags: Read / Write
Since: 3.0.0
“play-note”
property“play-note” AgsNote *
The assigned note.
Owner: AgsPlayback
Flags: Read / Write
Since: 3.0.0
“playback-domain”
property“playback-domain” AgsPlaybackDomain *
The parent playback domain.
Owner: AgsPlayback
Flags: Read / Write
Since: 3.0.0