AgsIpatch

AgsIpatch — Libinstpatch wrapper

Synopsis

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

#define             AGS_IPATCH_DEFAULT_CHANNELS
#define             AGS_IPATCH_READ
#define             AGS_IPATCH_WRITE
struct              AgsIpatch;
struct              AgsIpatchClass;
enum                AgsIpatchFlags;
AgsIpatch *         ags_ipatch_new                      ();

Description

AgsIpatch is the base object to ineract with libinstpatch.

Details

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"

struct AgsIpatch

struct AgsIpatch {
  GObject object;

  guint flags;

  AgsDevout *devout;
  GList *audio_signal;

  IpatchFile *file;
  char *filename;
  char *mode;

  IpatchFileHandle *handle;
  GError *error;

  IpatchBase *base;
  GObject *reader;

  IpatchList *samples;
  GList *iter;

  guint nth_level;
};

struct AgsIpatchClass

struct AgsIpatchClass {
  GObjectClass object;
};

enum AgsIpatchFlags

typedef enum {
  AGS_IPATCH_DLS2   = 1,
  AGS_IPATCH_SF2    = 1 << 1,
  AGS_IPATCH_GIG    = 1 << 2,
} AgsIpatchFlags;

ags_ipatch_new ()

AgsIpatch *         ags_ipatch_new                      ();

Creates an AgsIpatch.

Returns :

an empty AgsIpatch.

Since 0.4