krähemann.com

AgsAudioUnitServer

AgsAudioUnitServer — audio unit instance

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
gchar * url Read / Write

Object Hierarchy

    GObject
    ╰── AgsAudioUnitServer

Implemented Interfaces

AgsAudioUnitServer implements AgsConnectable and AgsSoundServer.

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_test_flags ()

gboolean
ags_audio_unit_server_test_flags (AgsAudioUnitServer *audio_unit_server,
                                  guint flags);

Test flags to be set on audio_unit_server .

Parameters

audio_unit_server

the AgsAudioUnitServer

 

flags

the flags

 

Returns

TRUE if flags are set, else FALSE

Since: 3.0.0


ags_audio_unit_server_set_flags ()

void
ags_audio_unit_server_set_flags (AgsAudioUnitServer *audio_unit_server,
                                 guint flags);

Enable a feature of audio_unit_server .

Parameters

audio_unit_server

the AgsAudioUnitServer

 

flags

see AgsAudioUnitServerFlags

 

Since: 3.0.0


ags_audio_unit_server_unset_flags ()

void
ags_audio_unit_server_unset_flags (AgsAudioUnitServer *audio_unit_server,
                                   guint flags);

Disable a feature of audio_unit_server .

Parameters

audio_unit_server

the AgsAudioUnitServer

 

flags

see AgsAudioUnitServerFlags

 

Since: 3.0.0


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


AGS_AUDIO_UNIT_SERVER()

#define AGS_AUDIO_UNIT_SERVER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_UNIT_SERVER, AgsAudioUnitServer))

AGS_AUDIO_UNIT_SERVER_CLASS()

#define AGS_AUDIO_UNIT_SERVER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUDIO_UNIT_SERVER, AgsAudioUnitServer))

AGS_AUDIO_UNIT_SERVER_GET_CLASS()

#define AGS_AUDIO_UNIT_SERVER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUDIO_UNIT_SERVER, AgsAudioUnitServerClass))

AGS_IS_AUDIO_UNIT_SERVER()

#define AGS_IS_AUDIO_UNIT_SERVER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUDIO_UNIT_SERVER))

AGS_IS_AUDIO_UNIT_SERVER_CLASS()

#define AGS_IS_AUDIO_UNIT_SERVER_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUDIO_UNIT_SERVER))

ags_audio_unit_server_get_type ()

GType
ags_audio_unit_server_get_type ();

Types and Values

enum AgsAudioUnitServerFlags

Enum values to control the behavior or indicate internal state of AgsAudioUnitServer by enable/disable as flags.

Members

AGS_AUDIO_UNIT_SERVER_ADDED_TO_REGISTRY

the AudioUnit server was added to registry, see AgsConnectable::add_to_registry()

 

AGS_AUDIO_UNIT_SERVER_CONNECTED

indicates the server was connected by calling AgsConnectable::connect()

 

AGS_TYPE_AUDIO_UNIT_SERVER

#define AGS_TYPE_AUDIO_UNIT_SERVER                (ags_audio_unit_server_get_type())

struct AgsAudioUnitServer

struct AgsAudioUnitServer;

struct AgsAudioUnitServerClass

struct AgsAudioUnitServerClass {
  GObjectClass gobject;
};

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”                      gchar *

The assigned URL.

Owner: AgsAudioUnitServer

Flags: Read / Write

Default value: NULL

Since: 3.0.0