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 () |
guint | audio-channel | Read / Write |
AgsChannel * | channel | Read / Write |
AgsNote * | play-note | Read / Write |
AgsPlaybackDomain * | playback-domain | Read / Write |
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
,AgsPlaybackFlags flags
);
Test flags
to be set on playback
.
Since: 3.0.0
void ags_playback_set_flags (AgsPlayback *playback
,AgsPlaybackFlags flags
);
Set flags.
Since: 3.0.0
void ags_playback_unset_flags (AgsPlayback *playback
,AgsPlaybackFlags 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
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