krähemann.com

AgsIpatchSample

AgsIpatchSample — interfacing Soundfont2 related API of libinstpatch

Stability Level

Stable, unless otherwise indicated

Properties

guint buffer-size Read / Write
guint format Read / Write
GObject * sample Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsIpatchSample

Implemented Interfaces

AgsIpatchSample implements AgsConnectable and AgsSoundResource.

Includes

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

Description

AgsIpatchSample is the base object to ineract with Soundfont2 related API.

Functions

AGS_IPATCH_SAMPLE_GET_OBJ_MUTEX()

#define AGS_IPATCH_SAMPLE_GET_OBJ_MUTEX(obj) (&(((AgsIpatchSample *) obj)->obj_mutex))

ags_ipatch_sample_new ()

AgsIpatchSample *
ags_ipatch_sample_new ();

Creates a new instance of AgsIpatchSample.

Returns

the new AgsIpatchSample.

Since: 3.0.0


AGS_IPATCH_SAMPLE()

#define AGS_IPATCH_SAMPLE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_IPATCH_SAMPLE, AgsIpatchSample))

AGS_IPATCH_SAMPLE_CLASS()

#define AGS_IPATCH_SAMPLE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_IPATCH_SAMPLE, AgsIpatchSampleClass))

AGS_IPATCH_SAMPLE_GET_CLASS()

#define AGS_IPATCH_SAMPLE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_IPATCH_SAMPLE, AgsIpatchSampleClass))

AGS_IS_IPATCH_SAMPLE()

#define AGS_IS_IPATCH_SAMPLE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_IPATCH_SAMPLE))

AGS_IS_IPATCH_SAMPLE_CLASS()

#define AGS_IS_IPATCH_SAMPLE_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_IPATCH_SAMPLE))

ags_ipatch_sample_get_type ()

GType
ags_ipatch_sample_get_type ();

Types and Values

AGS_TYPE_IPATCH_SAMPLE

#define AGS_TYPE_IPATCH_SAMPLE                (ags_ipatch_sample_get_type())

struct AgsIpatchSample

struct AgsIpatchSample;

struct AgsIpatchSampleClass

struct AgsIpatchSampleClass {
  GObjectClass gobject;
};

Property Details

The “buffer-size” property

  “buffer-size”              guint

The buffer size to be used.

Owner: AgsIpatchSample

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “format” property

  “format”                   guint

The format to be used.

Owner: AgsIpatchSample

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “sample” property

  “sample”                   GObject *

The assigned output IpatchSample.

Owner: AgsIpatchSample

Flags: Read / Write

Since: 3.0.0