AgsJackClient

AgsJackClient — JACK connection

Functions

Properties

GObject * device Read / Write
AgsJackServer * jack-server Read / Write
GObject * port Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsJackClient

Implemented Interfaces

AgsJackClient implements AgsConnectable.

Includes

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

Description

The AgsJackClient communicates with a JACK instance.

Functions

ags_jack_client_find_uuid ()

GList *
ags_jack_client_find_uuid (GList *jack_client,
                           gchar *client_uuid);

Finds next match of client_uuid in jack_client .

Parameters

jack_client

a GList

 

client_uuid

the client uuid to find

 

Returns

a GList or NULL

Since: 1.0.0


ags_jack_client_find ()

GList *
ags_jack_client_find (GList *jack_client,
                      gchar *client_name);

Finds next match of client_name in jack_client .

Parameters

jack_client

a GList

 

client_name

the client name to find

 

Returns

a GList or NULL

Since: 1.0.0


ags_jack_client_open ()

void
ags_jack_client_open (AgsJackClient *jack_client,
                      gchar *client_name);

Open the JACK client's connection and read uuid.

Parameters

jack_client

the AgsJackClient

 

client_name

the client's name

 

Since: 1.0.0


ags_jack_client_add_device ()

void
ags_jack_client_add_device (AgsJackClient *jack_client,
                            GObject *jack_device);

Add jack_device to jack_client .

Parameters

jack_client

the AgsJackClient

 

jack_device

an AgsJackDevout or AgsJackMidiin

 

Since: 1.0.0


ags_jack_client_remove_device ()

void
ags_jack_client_remove_device (AgsJackClient *jack_client,
                               GObject *jack_device);

Remove jack_device from jack_client .

Parameters

jack_client

the AgsJackClient

 

jack_device

an AgsJackDevout or AgsJackMidiin

 

Since: 1.0.0


ags_jack_client_add_port ()

void
ags_jack_client_add_port (AgsJackClient *jack_client,
                          GObject *jack_port);

Add jack_port to jack_client .

Parameters

jack_client

the AgsJackClient

 

jack_port

an AgsJackPort

 

Since: 1.0.0


ags_jack_client_remove_port ()

void
ags_jack_client_remove_port (AgsJackClient *jack_client,
                             GObject *jack_port);

Remove jack_port from jack_client .

Parameters

jack_client

the AgsJackClient

 

jack_port

an AgsJackPort

 

Since: 1.0.0


ags_jack_client_activate ()

void
ags_jack_client_activate (AgsJackClient *jack_client);

Activate client.

Parameters

jack_client

the AgsJackClient

 

Since: 1.0.0


ags_jack_client_deactivate ()

void
ags_jack_client_deactivate (AgsJackClient *jack_client);

Deactivate client.

Parameters

jack_client

the AgsJackClient

 

Since: 1.0.0


ags_jack_client_new ()

AgsJackClient *
ags_jack_client_new (GObject *jack_server);

Instantiate a new AgsJackClient.

Parameters

jack_server

the assigned AgsJackServer

 

Returns

the new AgsJackClient

Since: 1.0.0


AGS_IS_JACK_CLIENT()

#define AGS_IS_JACK_CLIENT(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_JACK_CLIENT))

AGS_JACK_CLIENT()

#define AGS_JACK_CLIENT(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_JACK_CLIENT, AgsJackClient))

AGS_JACK_CLIENT_CLASS()

#define AGS_JACK_CLIENT_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_JACK_CLIENT, AgsJackClient))

AGS_JACK_CLIENT_GET_CLASS()

#define AGS_JACK_CLIENT_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_JACK_CLIENT, AgsJackClientClass))

ags_jack_client_get_type ()

GType
ags_jack_client_get_type ();

Types and Values

enum AgsJackClientFlags

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

Members

AGS_JACK_CLIENT_CONNECTED

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

 

AGS_JACK_CLIENT_ACTIVATED

the client was activated

 

AGS_TYPE_JACK_CLIENT

#define AGS_TYPE_JACK_CLIENT                (ags_jack_client_get_type())

struct AgsJackClient

struct AgsJackClient;

struct AgsJackClientClass

struct AgsJackClientClass {
  GObjectClass object;
};

Property Details

The “device” property

  “device”                   GObject *

The assigned devices.

Flags: Read / Write

Since: 1.0.0.7


The “jack-server” property

  “jack-server”              AgsJackServer *

The assigned AgsJackServer.

Flags: Read / Write

Since: 1.0.0


The “port” property

  “port”                     GObject *

The assigned ports.

Flags: Read / Write

Since: 1.0.0.7