AgsJackServer

AgsJackServer — JACK instance

Functions

Properties

AgsApplicationContext * application-context Read / Write
AgsJackClient * default-jack-client Read / Write
GObject * default-soundcard Read / Write
AgsJackClient * jack-client Read / Write
gchar * url Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsJackServer

Implemented Interfaces

AgsJackServer implements AgsConnectable and AgsDistributedManager.

Includes

#include <ags/audio/jack/ags_jack_server.h>

Description

The AgsJackServer is an object to represent a running JACK instance.

Functions

ags_jack_server_find_url ()

GList *
ags_jack_server_find_url (GList *jack_server,
                          gchar *url);

Find AgsJackServer by url.

Parameters

jack_server

the AgsJackServer

 

url

the url to find

 

Returns

the GList containing a AgsJackServer matching url or NULL

Since: 1.0.0


ags_jack_server_find_client ()

GObject *
ags_jack_server_find_client (AgsJackServer *jack_server,
                             gchar *client_uuid);

Find AgsJackClient by uuid.

Parameters

jack_server

the AgsJackServer

 

client_uuid

the uuid to find

 

Returns

the AgsJackClient found or NULL

Since: 1.0.0


ags_jack_server_find_port ()

GObject *
ags_jack_server_find_port (AgsJackServer *jack_server,
                           gchar *port_uuid);

Find AgsJackPort by uuid.

Parameters

jack_server

the AgsJackServer

 

port_uuid

the uuid to find

 

Returns

the AgsJackPort found or NULL

Since: 1.0.0


ags_jack_server_add_client ()

void
ags_jack_server_add_client (AgsJackServer *jack_server,
                            GObject *jack_client);

Add jack_client to jack_server

Parameters

jack_server

the AgsJackServer

 

jack_client

the AgsJackClient to add

 

Since: 1.0.0


ags_jack_server_remove_client ()

void
ags_jack_server_remove_client (AgsJackServer *jack_server,
                               GObject *jack_client);

Remove jack_client to jack_server

Parameters

jack_server

the AgsJackServer

 

jack_client

the AgsJackClient to remove

 

Since: 1.0.0


ags_jack_server_connect_client ()

void
ags_jack_server_connect_client (AgsJackServer *jack_server);

Connect all clients.

Parameters

jack_server

the AgsJackServer

 

Since: 1.0.0


ags_jack_server_new ()

AgsJackServer *
ags_jack_server_new (GObject *application_context,
                     gchar *url);

Instantiate a new AgsJackServer.

Parameters

application_context

the AgsApplicationContext

 

url

the URL as string

 

Returns

the new AgsJackServer

Since: 1.0.0


AGS_IS_JACK_SERVER()

#define AGS_IS_JACK_SERVER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_JACK_SERVER))

AGS_JACK_SERVER()

#define AGS_JACK_SERVER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_JACK_SERVER, AgsJackServer))

AGS_JACK_SERVER_CLASS()

#define AGS_JACK_SERVER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_JACK_SERVER, AgsJackServer))

AGS_JACK_SERVER_GET_CLASS()

#define AGS_JACK_SERVER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_JACK_SERVER, AgsJackServerClass))

ags_jack_server_get_type ()

GType
ags_jack_server_get_type ();

Types and Values

AGS_JACK_SERVER_DEFAULT_PROTOCOL

#define AGS_JACK_SERVER_DEFAULT_PROTOCOL "udp"

AGS_JACK_SERVER_DEFAULT_HOST

#define AGS_JACK_SERVER_DEFAULT_HOST "localhost"

AGS_JACK_SERVER_DEFAULT_PORT

#define AGS_JACK_SERVER_DEFAULT_PORT (3000)

enum AgsJackServerFlags

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

Members

AGS_JACK_SERVER_CONNECTED

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

 

AGS_TYPE_JACK_SERVER

#define AGS_TYPE_JACK_SERVER                (ags_jack_server_get_type())

struct AgsJackServer

struct AgsJackServer;

struct AgsJackServerClass

struct AgsJackServerClass {
  GObjectClass object;
};

Property Details

The “application-context” property

  “application-context”      AgsApplicationContext *

The assigned AgsApplicationContext

Flags: Read / Write

Since: 1.0.0


The “default-jack-client” property

  “default-jack-client”      AgsJackClient *

The default jack client.

Flags: Read / Write

Since: 1.0.0.7


The “default-soundcard” property

  “default-soundcard”        GObject *

The default soundcard.

Flags: Read / Write

Since: 1.0.0.7


The “jack-client” property

  “jack-client”              AgsJackClient *

The jack client list.

Flags: Read / Write

Since: 1.0.0.7


The “url” property

  “url”                      gchar *

The assigned URL.

Flags: Read / Write

Default value: NULL

Since: 1.0.0