AgsIpatch

AgsIpatch — Libinstpatch wrapper

Functions

Properties

gchar * filename Read / Write
gchar * mode Read / Write
GObject * soundcard Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsIpatch

Implemented Interfaces

AgsIpatch implements AgsConnectable and AgsSoundContainer.

Includes

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

Description

AgsIpatch is the base object to ineract with libinstpatch.

Functions

AGS_IPATCH_GET_OBJ_MUTEX()

#define AGS_IPATCH_GET_OBJ_MUTEX(obj) (&(((AgsIpatch *) obj)->obj_mutex))

ags_ipatch_test_flags ()

gboolean
ags_ipatch_test_flags (AgsIpatch *ipatch,
                       guint flags);

Test flags to be set on ipatch .

Parameters

ipatch

the AgsIpatch

 

flags

the flags

 

Returns

TRUE if flags are set, else FALSE

Since: 3.0.0


ags_ipatch_set_flags ()

void
ags_ipatch_set_flags (AgsIpatch *ipatch,
                      guint flags);

Enable a feature of ipatch .

Parameters

ipatch

the AgsIpatch

 

flags

see AgsIpatchFlags

 

Since: 3.0.0


ags_ipatch_unset_flags ()

void
ags_ipatch_unset_flags (AgsIpatch *ipatch,
                        guint flags);

Disable a feature of ipatch .

Parameters

ipatch

the AgsIpatch

 

flags

see AgsIpatchFlags

 

Since: 3.0.0


ags_ipatch_check_suffix ()

gboolean
ags_ipatch_check_suffix (gchar *filename);

Check filename 's suffix to be supported.

Parameters

filename

the filename

 

Returns

TRUE if supported, else FALSE

Since: 3.0.0


ags_ipatch_new ()

AgsIpatch *
ags_ipatch_new ();

Creates an AgsIpatch.

Returns

an empty AgsIpatch.

Since: 3.0.0


AGS_IPATCH()

#define AGS_IPATCH(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_IPATCH, AgsIpatch))

AGS_IPATCH_CLASS()

#define AGS_IPATCH_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_IPATCH, AgsIpatchClass))

AGS_IPATCH_GET_CLASS()

#define AGS_IPATCH_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_IPATCH, AgsIpatchClass))

AGS_IS_IPATCH()

#define AGS_IS_IPATCH(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_IPATCH))

ags_ipatch_get_type ()

GType
ags_ipatch_get_type ();

Types and Values

AGS_IPATCH_DEFAULT_CHANNELS

#define AGS_IPATCH_DEFAULT_CHANNELS (2)

AGS_IPATCH_READ

#define AGS_IPATCH_READ "r"

AGS_IPATCH_WRITE

#define AGS_IPATCH_WRITE "w"

enum AgsIpatchFlags

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

Members

AGS_IPATCH_ADDED_TO_REGISTRY

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

 

AGS_IPATCH_CONNECTED

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

 

AGS_IPATCH_DLS2

DLS2 format

 

AGS_IPATCH_SF2

Soundfont2 format

 

AGS_IPATCH_GIG

Gigasampler format

 

AGS_TYPE_IPATCH

#define AGS_TYPE_IPATCH                (ags_ipatch_get_type())

struct AgsIpatch

struct AgsIpatch;

struct AgsIpatchClass

struct AgsIpatchClass {
  GObjectClass gobject;
};

Property Details

The “filename” property

  “filename”                 gchar *

The assigned filename.

Owner: AgsIpatch

Flags: Read / Write

Default value: NULL

Since: 3.0.0


The “mode” property

  “mode”                     gchar *

The assigned mode.

Owner: AgsIpatch

Flags: Read / Write

Default value: NULL

Since: 3.0.0


The “soundcard” property

  “soundcard”                GObject *

The assigned soundcard.

Owner: AgsIpatch

Flags: Read / Write

Since: 3.0.0