AgsSFZLoader

AgsSFZLoader — load sfz asynchronously

Functions

Properties

AgsAudio * audio Read / Write
AgsAudioContainer * audio-container Read / Write
gchar * filename Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsSFZLoader

Includes

#include <ags/plugin/ags_sfz_loader.h>

Description

The AgsSFZLoader loads sfz audio data asynchronously.

Functions

AGS_SFZ_LOADER_GET_OBJ_MUTEX()

#define AGS_SFZ_LOADER_GET_OBJ_MUTEX(obj) (&(((AgsSFZLoader *) obj)->obj_mutex))

ags_sfz_loader_test_flags ()

gboolean
ags_sfz_loader_test_flags (AgsSFZLoader *sfz_loader,
                           guint flags);

Test flags to be set on recall .

Parameters

sfz_loader

the AgsSFZLoader

 

flags

the flags

 

Returns

TRUE if flags are set, else FALSE

Since: 3.0.0


ags_sfz_loader_set_flags ()

void
ags_sfz_loader_set_flags (AgsSFZLoader *sfz_loader,
                          guint flags);

Set flags.

Parameters

sfz_loader

the AgsSFZLoader

 

flags

the flags

 

Since: 3.0.0


ags_sfz_loader_unset_flags ()

void
ags_sfz_loader_unset_flags (AgsSFZLoader *sfz_loader,
                            guint flags);

Unset flags.

Parameters

sfz_loader

the AgsSFZLoader

 

flags

the flags

 

Since: 3.0.0


ags_sfz_loader_start ()

void
ags_sfz_loader_start (AgsSFZLoader *sfz_loader);

ags_sfz_loader_new ()

AgsSFZLoader *
ags_sfz_loader_new (AgsAudio *audio,
                    gchar *filename,
                    gboolean do_replace);

Create a new instance of AgsSFZLoader.

Parameters

audio

the AgsAudio

 

filename

the filename

 

do_replace

if TRUE replace audio 's sfz

 

Returns

the new AgsSFZLoader

Since: 3.0.0


AGS_IS_SFZ_LOADER()

#define AGS_IS_SFZ_LOADER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SFZ_LOADER))

AGS_SFZ_LOADER()

#define AGS_SFZ_LOADER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SFZ_LOADER, AgsSFZLoader))

AGS_SFZ_LOADER_CLASS()

#define AGS_SFZ_LOADER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SFZ_LOADER, AgsSFZLoaderClass))

AGS_SFZ_LOADER_GET_CLASS()

#define AGS_SFZ_LOADER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_SFZ_LOADER, AgsSFZLoaderClass))

ags_sfz_loader_get_type ()

GType
ags_sfz_loader_get_type ();

Types and Values

enum AgsSFZLoaderFlags

Enum values to configure SFZ loader.

Members

AGS_SFZ_LOADER_DO_REPLACE

do replace audio signal

 

AGS_SFZ_LOADER_HAS_COMPLETED

has completed

 

AGS_TYPE_SFZ_LOADER

#define AGS_TYPE_SFZ_LOADER                (ags_sfz_loader_get_type())

struct AgsSFZLoader

struct AgsSFZLoader;

struct AgsSFZLoaderClass

struct AgsSFZLoaderClass {
  GObjectClass gobject;
};

Property Details

The “audio” property

  “audio”                    AgsAudio *

The assigned audio.

Owner: AgsSFZLoader

Flags: Read / Write

Since: 3.0.0


The “audio-container” property

  “audio-container”          AgsAudioContainer *

The audio container opened.

Owner: AgsSFZLoader

Flags: Read / Write

Since: 3.0.0


The “filename” property

  “filename”                 gchar *

The filename to open.

Owner: AgsSFZLoader

Flags: Read / Write

Default value: NULL

Since: 3.0.0