Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_PLAYBACK_DOMAIN_GET_OBJ_MUTEX() |
gboolean | ags_playback_domain_test_flags () |
void | ags_playback_domain_set_flags () |
void | ags_playback_domain_unset_flags () |
void | ags_playback_domain_set_audio_thread () |
AgsThread * | ags_playback_domain_get_audio_thread () |
void | ags_playback_domain_add_playback () |
void | ags_playback_domain_insert_playback () |
void | ags_playback_domain_remove_playback () |
AgsPlaybackDomain * | ags_playback_domain_new () |
#define | AGS_IS_PLAYBACK_DOMAIN() |
#define | AGS_IS_PLAYBACK_DOMAIN_CLASS() |
#define | AGS_PLAYBACK_DOMAIN() |
#define | AGS_PLAYBACK_DOMAIN_CLASS() |
#define | AGS_PLAYBACK_DOMAIN_GET_CLASS() |
GType | ags_playback_domain_get_type () |
GObject * | audio | Read / Write |
gpointer | input-playback | Read / Write |
gpointer | output-playback | Read / Write |
enum | AgsPlaybackDomainFlags |
#define | AGS_TYPE_PLAYBACK_DOMAIN |
struct | AgsPlaybackDomain |
struct | AgsPlaybackDomainClass |
AgsPlaybackDomain represents a domain to output. It provides you the audio processing threads per AgsSoundScope. The
The assigned AgsAudioThread calls ags_channel_recursive_run_stage()
for you.
The output-playback
and input-playback
properties provide a GList containing AgsPlayback.
#define AGS_PLAYBACK_DOMAIN_GET_OBJ_MUTEX(obj) (&(((AgsPlaybackDomain *) obj)->obj_mutex))
gboolean ags_playback_domain_test_flags (AgsPlaybackDomain *playback_domain
,guint flags
);
Test flags
to be set on playback_domain
.
Since: 3.0.0
void ags_playback_domain_set_flags (AgsPlaybackDomain *playback_domain
,guint flags
);
Set flags.
Since: 3.0.0
void ags_playback_domain_unset_flags (AgsPlaybackDomain *playback_domain
,guint flags
);
Unset flags.
Since: 3.0.0
void ags_playback_domain_set_audio_thread (AgsPlaybackDomain *playback_domain
,AgsThread *thread
,gint sound_scope
);
Set audio thread to specified scope.
Since: 3.0.0
AgsThread * ags_playback_domain_get_audio_thread (AgsPlaybackDomain *playback_domain
,gint sound_scope
);
Get audio thread of specified scope.
Since: 3.0.0
void ags_playback_domain_add_playback (AgsPlaybackDomain *playback_domain
,GObject *playback
,GType channel_type
);
Add playback
for channel_type
to playback_domain
.
playback_domain |
||
playback |
the AgsPlayback |
|
channel_type |
either an AGS_TYPE_OUTPUT or AGS_TYPE_INPUT |
Since: 3.0.0
void ags_playback_domain_insert_playback (AgsPlaybackDomain *playback_domain
,GObject *playback
,GType channel_type
,gint position
);
Add playback
for channel_type
to playback_domain
at position
.
playback_domain |
||
playback |
the AgsPlayback |
|
channel_type |
either an AGS_TYPE_OUTPUT or AGS_TYPE_INPUT |
|
position |
the position |
Since: 3.7.13
void ags_playback_domain_remove_playback (AgsPlaybackDomain *playback_domain
,GObject *playback
,GType channel_type
);
Remove playback
for channel_type
of playback_domain
.
playback_domain |
||
playback |
the AgsPlayback |
|
channel_type |
either an AGS_TYPE_OUTPUT or AGS_TYPE_INPUT |
Since: 3.0.0
AgsPlaybackDomain *
ags_playback_domain_new (GObject *audio
);
Creates an AgsPlaybackDomain, refering to application_context
.
Since: 3.0.0
#define AGS_IS_PLAYBACK_DOMAIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAYBACK_DOMAIN))
#define AGS_IS_PLAYBACK_DOMAIN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAYBACK_DOMAIN))
#define AGS_PLAYBACK_DOMAIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAYBACK_DOMAIN, AgsPlaybackDomain))
#define AGS_PLAYBACK_DOMAIN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PLAYBACK_DOMAIN, AgsPlaybackDomain))
#define AGS_PLAYBACK_DOMAIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_PLAYBACK_DOMAIN, AgsPlaybackDomainClass))
Enum values to control the behavior or indicate internal state of AgsPlaybackDomain by enable/disable as flags.
“audio”
property“audio” GObject *
The assigned AgsAudio.
Owner: AgsPlaybackDomain
Flags: Read / Write
Since: 3.0.0
“input-playback”
property“input-playback” gpointer
The assigned input playback.
[transfer full]
Owner: AgsPlaybackDomain
Flags: Read / Write
Since: 3.0.0
“output-playback”
property“output-playback” gpointer
The assigned output playback.
[transfer full]
Owner: AgsPlaybackDomain
Flags: Read / Write
Since: 3.0.0