Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_PULSE_SERVER_GET_OBJ_MUTEX() |
pthread_mutex_t * | ags_pulse_server_get_class_mutex () |
gboolean | ags_pulse_server_test_flags () |
void | ags_pulse_server_set_flags () |
void | ags_pulse_server_unset_flags () |
GList * | ags_pulse_server_find_url () |
GObject * | ags_pulse_server_find_client () |
GObject * | ags_pulse_server_find_port () |
void | ags_pulse_server_add_client () |
void | ags_pulse_server_remove_client () |
void | ags_pulse_server_connect_client () |
void | ags_pulse_server_disconnect_client () |
void | ags_pulse_server_start_poll () |
AgsPulseServer * | ags_pulse_server_new () |
#define | AGS_IS_PULSE_SERVER() |
#define | AGS_PULSE_SERVER() |
#define | AGS_PULSE_SERVER_CLASS() |
#define | AGS_PULSE_SERVER_GET_CLASS() |
GType | ags_pulse_server_get_type () |
AgsApplicationContext * | application-context | Read / Write |
AgsPulseClient * | default-pulse-client | Read / Write |
GObject * | default-soundcard | Read / Write |
gpointer | pulse-client | Read / Write |
gchar * | url | Read / Write |
enum | AgsPulseServerFlags |
#define | AGS_TYPE_PULSE_SERVER |
struct | AgsPulseServer |
struct | AgsPulseServerClass |
#define AGS_PULSE_SERVER_GET_OBJ_MUTEX(obj) (((AgsPulseServer *) obj)->obj_mutex)
pthread_mutex_t *
ags_pulse_server_get_class_mutex ();
Use this function's returned mutex to access mutex fields.
Since: 2.0.0
gboolean ags_pulse_server_test_flags (AgsPulseServer *pulse_server
,guint flags
);
Test flags
to be set on pulse_server
.
Since: 2.0.0
void ags_pulse_server_set_flags (AgsPulseServer *pulse_server
,guint flags
);
Enable a feature of pulse_server
.
Since: 2.0.0
void ags_pulse_server_unset_flags (AgsPulseServer *pulse_server
,guint flags
);
Disable a feature of pulse_server
.
Since: 2.0.0
GList * ags_pulse_server_find_url (GList *pulse_server
,gchar *url
);
Find AgsPulseServer by url.
Since: 2.0.0
GObject * ags_pulse_server_find_client (AgsPulseServer *pulse_server
,gchar *client_uuid
);
Find AgsPulseClient by uuid.
Since: 2.0.0
GObject * ags_pulse_server_find_port (AgsPulseServer *pulse_server
,gchar *port_uuid
);
Find AgsPulsePort by uuid.
Since: 2.0.0
void ags_pulse_server_add_client (AgsPulseServer *pulse_server
,GObject *pulse_client
);
Add pulse_client
to pulse_server
Since: 2.0.0
void ags_pulse_server_remove_client (AgsPulseServer *pulse_server
,GObject *pulse_client
);
Remove pulse_client
to pulse_server
Since: 2.0.0
void
ags_pulse_server_connect_client (AgsPulseServer *pulse_server
);
Connect all clients.
Since: 2.0.0
void
ags_pulse_server_disconnect_client (AgsPulseServer *pulse_server
);
Disconnect all clients.
Since: 2.1.14
AgsPulseServer * ags_pulse_server_new (AgsApplicationContext *application_context
,gchar *url
);
Create a new instance of AgsPulseServer.
Since: 2.0.0
#define AGS_IS_PULSE_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PULSE_SERVER))
#define AGS_PULSE_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PULSE_SERVER, AgsPulseServer))
#define AGS_PULSE_SERVER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PULSE_SERVER, AgsPulseServer))
#define AGS_PULSE_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_PULSE_SERVER, AgsPulseServerClass))
Enum values to control the behavior or indicate internal state of AgsPulseServer by enable/disable as flags.
“application-context”
property“application-context” AgsApplicationContext *
The assigned AgsApplicationContext
Flags: Read / Write
Since: 2.0.0
“default-pulse-client”
property“default-pulse-client” AgsPulseClient *
The default pulse client.
Flags: Read / Write
Since: 2.0.0
“default-soundcard”
property“default-soundcard” GObject *
The default soundcard.
Flags: Read / Write
Since: 2.0.0
“pulse-client”
property“pulse-client” gpointer
The pulse client list.
Flags: Read / Write
Since: 2.0.0
“url”
property“url” gchar *
The assigned URL.
Flags: Read / Write
Default value: NULL
Since: 2.0.0