AgsIpatch

AgsIpatch — Libinstpatch wrapper

Functions

Properties

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

Types and Values

Object Hierarchy

    GObject
    ╰── AgsIpatch

Implemented Interfaces

AgsIpatch implements AgsConnectable and AgsPlayable.

Includes

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

Description

AgsIpatch is the base object to ineract with libinstpatch.

Functions

ags_ipatch_check_suffix ()

gboolean
ags_ipatch_check_suffix (gchar *filename);


ags_ipatch_new ()

AgsIpatch *
ags_ipatch_new ();

Creates an AgsIpatch.

Returns

an empty AgsIpatch.

Since: 0.4


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_IS_IPATCH_CLASS()

#define AGS_IS_IPATCH_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), 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

Members

AGS_IPATCH_DLS2

   

AGS_IPATCH_SF2

   

AGS_IPATCH_GIG

   

AGS_TYPE_IPATCH

#define AGS_TYPE_IPATCH                (ags_ipatch_get_type())


struct AgsIpatch

struct AgsIpatch;


struct AgsIpatchClass

struct AgsIpatchClass {
  GObjectClass object;
};

Property Details

The “filename” property

  “filename”                 gpointer

The assigned filename.

Flags: Read / Write

Since: 0.4.2


The “mode” property

  “mode”                     gpointer

The assigned mode.

Flags: Read / Write

Since: 0.4.2


The “soundcard” property

  “soundcard”                GObject *

The assigned soundcard.

Flags: Read / Write

Since: 0.7.45