AgsBulkMember

AgsBulkMember — Modify assigned recall's port

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Includes

#include <ags/app/ags_bulk_member.h>

Description

AgsBulkMember is a composite widget to modify ports of recalls. A bulk member controls only one specific port of a recall but distinguishes between simple/complex recall. It is generally packed into a AgsBulk.

Functions

AGS_BULK_PORT()

#define AGS_BULK_PORT(ptr) ((AgsBulkPort *)(ptr))

ags_bulk_port_alloc ()

AgsBulkPort *
ags_bulk_port_alloc (AgsPort *port,
                     guint pad,
                     guint audio_channel);

Allocate AgsBulkPort.

Parameters

port

the AgsPort to set

 

pad

the pad

 

audio_channel

the audio channel

 

Returns

the newly allocated AgsBulkPort

Since: 3.0.0


ags_bulk_port_free ()

void
ags_bulk_port_free (AgsBulkPort *bulk_port);

Free bulk_port .

Parameters

bulk_port

the AgsBulkPort

 

Since: 3.0.0


ags_bulk_port_find ()

GList *
ags_bulk_port_find (GList *list,
                    AgsPort *port);

Find port within list .

Parameters

list

the GList to search

 

port

the AgsPort to find

 

Returns

the GList containing port if found otherwise NULL

Since: 3.0.0


ags_bulk_member_set_widget ()

void
ags_bulk_member_set_widget (AgsBulkMember *bulk_member,
                            GtkWidget *widget);

Set widget of bulk_member .

Parameters

bulk_member

the AgsBulkMember

 

widget

the GtkWidget

 

Since: 4.0.0


ags_bulk_member_get_widget ()

GtkWidget *
ags_bulk_member_get_widget (AgsBulkMember *bulk_member);

Get widget of bulk_member .

Parameters

bulk_member

the AgsBulkMember

 

Returns

the GtkWidget

Since: 4.0.0


ags_bulk_member_set_label ()

void
ags_bulk_member_set_label (AgsBulkMember *bulk_member,
                           gchar *label);

Modify the label of the bulk member.

Parameters

bulk_member

an AgsBulkMember

 

label

the label of the control

 

ags_bulk_member_change_port ()

void
ags_bulk_member_change_port (AgsBulkMember *bulk_member,
                             gpointer port_data);

ags_bulk_member_find_port ()

GList *
ags_bulk_member_find_port (AgsBulkMember *bulk_member);

Lookup ports of assigned recalls.

Parameters

bulk_member

an AgsBulkMember

 

Returns

a GList containing all related AgsPort

Since: 3.0.0


ags_bulk_member_find_effect_and_specifier ()

GList *
ags_bulk_member_find_effect_and_specifier
                               (GList *bulk_member,
                                gchar *filename,
                                gchar *effect,
                                gchar *specifier);

Find next matching bulk member by effect and specifier.

Parameters

bulk_member

the GList containing AgsBulkMember

 

filename

the filename

 

effect

the effect

 

specifier

the specifier

 

Returns

the next matching GList or NULL if not found

Since: 3.0.0


ags_bulk_member_remap_bulk_port ()

void
ags_bulk_member_remap_bulk_port (AgsBulkMember *bulk_member);

Remap bulk port.

Parameters

bulk_member

the AgsBulkMember

 

Since: 3.3.0


ags_bulk_member_new ()

AgsBulkMember *
ags_bulk_member_new ();

Creates an AgsBulkMember

Returns

a new AgsBulkMember

Since: 3.0.0

Types and Values

AGS_BULK_MEMBER_DEFAULT_VERSION

#define AGS_BULK_MEMBER_DEFAULT_VERSION "4.0.0"

AGS_BULK_MEMBER_DEFAULT_BUILD_ID

#define AGS_BULK_MEMBER_DEFAULT_BUILD_ID "Mi 04 Mai 2022 08:59:16 UTC"

AGS_BULK_MEMBER_INDICATOR_DEFAULT_SEGMENT_WIDTH

#define AGS_BULK_MEMBER_INDICATOR_DEFAULT_SEGMENT_WIDTH (16)

AGS_BULK_MEMBER_INDICATOR_DEFAULT_SEGMENT_HEIGHT

#define AGS_BULK_MEMBER_INDICATOR_DEFAULT_SEGMENT_HEIGHT (7)

enum AgsBulkMemberFlags

Members

AGS_BULK_MEMBER_CONNECTED

   

AGS_BULK_MEMBER_DEFAULT_TEMPLATE

   

AGS_BULK_MEMBER_RESET_BY_ATOMIC

   

AGS_BULK_MEMBER_RESET_BY_TASK

   

AGS_BULK_MEMBER_APPLY_RECALL

   

AGS_BULK_MEMBER_NO_UPDATE

   

AGS_BULK_MEMBER_APPLY_INITIAL

   

enum AgsBulkMemberPortFlags

Members

AGS_BULK_MEMBER_PORT_BOOLEAN

   

AGS_BULK_MEMBER_PORT_INTEGER

   

struct AgsBulkPort

struct AgsBulkPort {
  AgsPort *port;

  guint pad;
  guint audio_channel;

  gpointer port_data;
  gboolean active;
};