AgsAudioUnitServer

AgsAudioUnitServer — audio unit instance

Stability Level

Stable, unless otherwise indicated

Functions

Properties

gpointer audio-unit-client Read / Write
AgsAudioUnitClient * default-audio-unit-client Read / Write
GObject * default-soundcard Read / Write
AgsAudioUnitClient * input-audio-unit-client Read / Write
char * url Read / Write

Object Hierarchy

    GObject
    ╰── AgsAudioUnitServer

Includes

#include <ags/audio/audio-unit/ags_audio_unit_server.h>

Description

The AgsAudioUnitServer is an object to represent a running audio unit instance.

Functions

AGS_AUDIO_UNIT_SERVER_GET_OBJ_MUTEX()

#define AGS_AUDIO_UNIT_SERVER_GET_OBJ_MUTEX(obj) (&(((AgsAudioUnitServer *) obj)->obj_mutex))

ags_audio_unit_server_find_url ()

GList *
ags_audio_unit_server_find_url (GList *audio_unit_server,
                                gchar *url);

Find AgsAudioUnitServer by url.

Parameters

audio_unit_server

the GList containing AgsAudioUnitServer.

[element-type AgsAudio.AudioUnitServer][transfer none]

url

the url to find

 

Returns

the next matching GList containing a AgsAudioUnitServer matching url or NULL.

[element-type AgsAudio.AudioUnitServer][transfer none]

Since: 3.0.0


ags_audio_unit_server_find_client ()

GObject *
ags_audio_unit_server_find_client (AgsAudioUnitServer *audio_unit_server,
                                   gchar *client_uuid);

Find AgsAudioUnitClient by uuid.

Parameters

audio_unit_server

the AgsAudioUnitServer

 

client_uuid

the uuid to find

 

Returns

the AgsAudioUnitClient found or NULL.

[transfer none]

Since: 3.0.0


ags_audio_unit_server_find_port ()

GObject *
ags_audio_unit_server_find_port (AgsAudioUnitServer *audio_unit_server,
                                 gchar *port_uuid);

Find AgsAudioUnitPort by uuid.

Parameters

audio_unit_server

the AgsAudioUnitServer

 

port_uuid

the uuid to find

 

Returns

the AgsAudioUnitPort found or NULL.

[transfer none]

Since: 3.0.0


ags_audio_unit_server_add_client ()

void
ags_audio_unit_server_add_client (AgsAudioUnitServer *audio_unit_server,
                                  GObject *audio_unit_client);

Add audio_unit_client to audio_unit_server

Parameters

audio_unit_server

the AgsAudioUnitServer

 

audio_unit_client

the AgsAudioUnitClient to add

 

Since: 3.0.0


ags_audio_unit_server_remove_client ()

void
ags_audio_unit_server_remove_client (AgsAudioUnitServer *audio_unit_server,
                                     GObject *audio_unit_client);

Remove audio_unit_client to audio_unit_server

Parameters

audio_unit_server

the AgsAudioUnitServer

 

audio_unit_client

the AgsAudioUnitClient to remove

 

Since: 3.0.0


ags_audio_unit_server_connect_client ()

void
ags_audio_unit_server_connect_client (AgsAudioUnitServer *audio_unit_server);

Connect all clients.

Parameters

audio_unit_server

the AgsAudioUnitServer

 

Since: 3.0.0


ags_audio_unit_server_start_poll ()

void
ags_audio_unit_server_start_poll (AgsAudioUnitServer *audio_unit_server);

ags_audio_unit_server_new ()

AgsAudioUnitServer *
ags_audio_unit_server_new (gchar *url);

Create a new instance of AgsAudioUnitServer.

Parameters

url

the URL as string

 

Returns

the new AgsAudioUnitServer

Since: 3.0.0

Property Details

The “audio-unit-client” property

  “audio-unit-client”        gpointer

The audio unit client list.

[transfer full]

Owner: AgsAudioUnitServer

Flags: Read / Write

Since: 3.0.0


The “default-audio-unit-client” property

  “default-audio-unit-client” AgsAudioUnitClient *

The default audio unit client.

Owner: AgsAudioUnitServer

Flags: Read / Write

Since: 3.0.0


The “default-soundcard” property

  “default-soundcard”        GObject *

The default soundcard.

Owner: AgsAudioUnitServer

Flags: Read / Write

Since: 3.0.0


The “input-audio-unit-client” property

  “input-audio-unit-client”  AgsAudioUnitClient *

The input audio unit client.

Owner: AgsAudioUnitServer

Flags: Read / Write

Since: 3.0.0


The “url” property

  “url”                      char *

The assigned URL.

Owner: AgsAudioUnitServer

Flags: Read / Write

Default value: NULL

Since: 3.0.0