AgsSFZGroup

AgsSFZGroup — interfacing SFZ groups

Functions

Properties

int nth-group Read / Write
gpointer region Read / Write
AgsSFZSample * sample Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsSFZGroup

Implemented Interfaces

AgsSFZGroup implements AgsConnectable.

Includes

#include <ags/audio/file/ags_sfz_group.h>

Description

AgsSFZGroup is the base object to ineract with SFZ groups.

Functions

AGS_SFZ_GROUP_GET_OBJ_MUTEX()

#define AGS_SFZ_GROUP_GET_OBJ_MUTEX(obj) (&(((AgsSFZGroup *) obj)->obj_mutex))

ags_sfz_group_test_flags ()

gboolean
ags_sfz_group_test_flags (AgsSFZGroup *sfz_group,
                          guint flags);

Test flags to be set on sfz_group .

Parameters

sfz_group

the AgsSFZGroup

 

flags

the flags

 

Returns

TRUE if flags are set, else FALSE

Since: 3.0.0


ags_sfz_group_set_flags ()

void
ags_sfz_group_set_flags (AgsSFZGroup *sfz_group,
                         guint flags);

Enable a feature of sfz_group .

Parameters

sfz_group

the AgsSFZGroup

 

flags

see AgsSFZGroupFlags

 

Since: 3.0.0


ags_sfz_group_unset_flags ()

void
ags_sfz_group_unset_flags (AgsSFZGroup *sfz_group,
                           guint flags);

Disable a feature of sfz_group .

Parameters

sfz_group

the AgsSFZGroup

 

flags

see AgsSFZGroupFlags

 

Since: 3.0.0


ags_sfz_group_insert_control ()

void
ags_sfz_group_insert_control (AgsSFZGroup *sfz_group,
                              gchar *key,
                              gchar *value);

Insert control specified by key and value to sfz_group .

Parameters

sfz_group

the AgsSFZGroup

 

key

the key

 

value

the value

 

Since: 3.0.0


ags_sfz_group_lookup_control ()

gchar *
ags_sfz_group_lookup_control (AgsSFZGroup *sfz_group,
                              gchar *key);

Lookup control specified by key of sfz_group .

Parameters

sfz_group

the AgsSFZGroup

 

key

the key

 

Since: 3.0.0


ags_sfz_group_new ()

AgsSFZGroup *
ags_sfz_group_new ();

Creates a new instance of AgsSFZGroup.

Returns

the new AgsSFZGroup.

Since: 3.0.0


AGS_IS_SFZ_GROUP()

#define AGS_IS_SFZ_GROUP(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SFZ_GROUP))

AGS_IS_SFZ_GROUP_CLASS()

#define AGS_IS_SFZ_GROUP_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SFZ_GROUP))

AGS_SFZ_GROUP()

#define AGS_SFZ_GROUP(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SFZ_GROUP, AgsSFZGroup))

AGS_SFZ_GROUP_CLASS()

#define AGS_SFZ_GROUP_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SFZ_GROUP, AgsSFZGroupClass))

AGS_SFZ_GROUP_GET_CLASS()

#define AGS_SFZ_GROUP_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_SFZ_GROUP, AgsSFZGroupClass))

ags_sfz_group_get_type ()

GType
ags_sfz_group_get_type ();

Types and Values

enum AgsSFZGroupFlags

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

Members

AGS_SFZ_GROUP_ADDED_TO_REGISTRY

the sfz group was added to registry, see AgsConnectable::add_to_registry()

 

AGS_SFZ_GROUP_CONNECTED

indicates the sfz group was connected by calling AgsConnectable::connect()

 

AGS_TYPE_SFZ_GROUP

#define AGS_TYPE_SFZ_GROUP                (ags_sfz_group_get_type())

struct AgsSFZGroup

struct AgsSFZGroup;

struct AgsSFZGroupClass

struct AgsSFZGroupClass {
  GObjectClass gobject;
};

Property Details

The “nth-group” property

  “nth-group”                int

The nth group.

Owner: AgsSFZGroup

Flags: Read / Write

Allowed values: >= -1

Default value: -1

Since: 3.0.0


The “region” property

  “region”                   gpointer

The region assigned with.

[transfer full]

Owner: AgsSFZGroup

Flags: Read / Write

Since: 3.0.0


The “sample” property

  “sample”                   AgsSFZSample *

The sample assigned with.

Owner: AgsSFZGroup

Flags: Read / Write

Since: 3.0.0