Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_PULSE_CLIENT_GET_OBJ_MUTEX() |
pthread_mutex_t * | ags_pulse_client_get_class_mutex () |
gboolean | ags_pulse_client_test_flags () |
void | ags_pulse_client_set_flags () |
void | ags_pulse_client_unset_flags () |
GList * | ags_pulse_client_find_uuid () |
GList * | ags_pulse_client_find () |
void | ags_pulse_client_open () |
void | ags_pulse_client_close () |
void | ags_pulse_client_add_device () |
void | ags_pulse_client_remove_device () |
void | ags_pulse_client_add_port () |
void | ags_pulse_client_remove_port () |
void | ags_pulse_client_activate () |
void | ags_pulse_client_deactivate () |
AgsPulseClient * | ags_pulse_client_new () |
#define | AGS_IS_PULSE_CLIENT() |
#define | AGS_PULSE_CLIENT() |
#define | AGS_PULSE_CLIENT_CLASS() |
#define | AGS_PULSE_CLIENT_GET_CLASS() |
GType | ags_pulse_client_get_type () |
gchar * | client-name | Read / Write |
gpointer | device | Read / Write |
gpointer | port | Read / Write |
AgsPulseServer * | pulse-server | Read / Write |
enum | AgsPulseClientFlags |
#define | AGS_TYPE_PULSE_CLIENT |
struct | AgsPulseClient |
struct | AgsPulseClientClass |
#define AGS_PULSE_CLIENT_GET_OBJ_MUTEX(obj) (((AgsPulseClient *) obj)->obj_mutex)
pthread_mutex_t *
ags_pulse_client_get_class_mutex ();
Use this function's returned mutex to access mutex fields.
Since: 2.0.0
gboolean ags_pulse_client_test_flags (AgsPulseClient *pulse_client
,guint flags
);
Test flags
to be set on pulse_client
.
Since: 2.0.0
void ags_pulse_client_set_flags (AgsPulseClient *pulse_client
,guint flags
);
Enable a feature of pulse_client
.
Since: 2.0.0
void ags_pulse_client_unset_flags (AgsPulseClient *pulse_client
,guint flags
);
Disable a feature of pulse_client
.
Since: 2.0.0
GList * ags_pulse_client_find_uuid (GList *pulse_client
,gchar *client_uuid
);
Finds next match of client_uuid
in pulse_client
.
Since: 2.0.0
GList * ags_pulse_client_find (GList *pulse_client
,gchar *client_name
);
Finds next match of client_name
in pulse_client
.
Since: 2.0.0
void ags_pulse_client_open (AgsPulseClient *pulse_client
,gchar *client_name
);
Open the pulseaudio client's connection and read uuid.
Since: 2.0.0
void
ags_pulse_client_close (AgsPulseClient *pulse_client
);
Close the pulseaudio client's connection.
Since: 2.1.14
void ags_pulse_client_add_device (AgsPulseClient *pulse_client
,GObject *pulse_device
);
Add pulse_device
to pulse_client
.
Since: 2.0.0
void ags_pulse_client_remove_device (AgsPulseClient *pulse_client
,GObject *pulse_device
);
Remove pulse_device
from pulse_client
.
Since: 2.0.0
void ags_pulse_client_add_port (AgsPulseClient *pulse_client
,GObject *pulse_port
);
Add pulse_port
to pulse_client
.
Since: 2.0.0
void ags_pulse_client_remove_port (AgsPulseClient *pulse_client
,GObject *pulse_port
);
Remove pulse_port
from pulse_client
.
Since: 2.0.0
void
ags_pulse_client_activate (AgsPulseClient *pulse_client
);
Activate client.
Since: 2.0.0
void
ags_pulse_client_deactivate (AgsPulseClient *pulse_client
);
Deactivate client.
Since: 2.0.0
AgsPulseClient *
ags_pulse_client_new (GObject *pulse_server
);
Create a new instance of AgsPulseClient.
Since: 2.0.0
#define AGS_IS_PULSE_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PULSE_CLIENT))
#define AGS_PULSE_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PULSE_CLIENT, AgsPulseClient))
#define AGS_PULSE_CLIENT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PULSE_CLIENT, AgsPulseClient))
#define AGS_PULSE_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_PULSE_CLIENT, AgsPulseClientClass))
Enum values to control the behavior or indicate internal state of AgsPulseClient by enable/disable as flags.
“client-name”
property“client-name” gchar *
The pulseaudio client name.
Flags: Read / Write
Default value: NULL
Since: 2.0.0
“pulse-server”
property“pulse-server” AgsPulseServer *
The assigned AgsPulseServer.
Flags: Read / Write
Since: 2.0.0