AgsWaveLoader

AgsWaveLoader — load wave asynchronously

Functions

Properties

AgsAudio * audio Read / Write
AgsAudioFile * audio-file Read / Write
gchar * filename Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsWaveLoader

Includes

#include <ags/plugin/ags_wave_loader.h>

Description

The AgsWaveLoader loads wave audio data asynchronously.

Functions

AGS_WAVE_LOADER_GET_OBJ_MUTEX()

#define AGS_WAVE_LOADER_GET_OBJ_MUTEX(obj) (&(((AgsWaveLoader *) obj)->obj_mutex))

ags_wave_loader_test_flags ()

gboolean
ags_wave_loader_test_flags (AgsWaveLoader *wave_loader,
                            guint flags);

Test flags to be set on recall .

Parameters

wave_loader

the AgsWaveLoader

 

flags

the flags

 

Returns

TRUE if flags are set, else FALSE

Since: 3.0.0


ags_wave_loader_set_flags ()

void
ags_wave_loader_set_flags (AgsWaveLoader *wave_loader,
                           guint flags);

Set flags.

Parameters

wave_loader

the AgsWaveLoader

 

flags

the flags

 

Since: 3.0.0


ags_wave_loader_unset_flags ()

void
ags_wave_loader_unset_flags (AgsWaveLoader *wave_loader,
                             guint flags);

Unset flags.

Parameters

wave_loader

the AgsWaveLoader

 

flags

the flags

 

Since: 3.0.0


ags_wave_loader_start ()

void
ags_wave_loader_start (AgsWaveLoader *wave_loader);

ags_wave_loader_new ()

AgsWaveLoader *
ags_wave_loader_new (AgsAudio *audio,
                     gchar *filename,
                     gboolean do_replace);

Create a new instance of AgsWaveLoader.

Parameters

audio

the AgsAudio

 

filename

the filename

 

do_replace

if TRUE replace audio 's wave

 

Returns

the new AgsWaveLoader

Since: 3.0.0


AGS_IS_WAVE_LOADER()

#define AGS_IS_WAVE_LOADER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_WAVE_LOADER))

AGS_WAVE_LOADER()

#define AGS_WAVE_LOADER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_WAVE_LOADER, AgsWaveLoader))

AGS_WAVE_LOADER_CLASS()

#define AGS_WAVE_LOADER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_WAVE_LOADER, AgsWaveLoaderClass))

AGS_WAVE_LOADER_GET_CLASS()

#define AGS_WAVE_LOADER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_WAVE_LOADER, AgsWaveLoaderClass))

ags_wave_loader_get_type ()

GType
ags_wave_loader_get_type ();

Types and Values

enum AgsWaveLoaderFlags

Members

AGS_WAVE_LOADER_DO_REPLACE

   

AGS_WAVE_LOADER_HAS_COMPLETED

   

AGS_TYPE_WAVE_LOADER

#define AGS_TYPE_WAVE_LOADER                (ags_wave_loader_get_type())

struct AgsWaveLoader

struct AgsWaveLoader;

struct AgsWaveLoaderClass

struct AgsWaveLoaderClass {
  GObjectClass gobject;
};

Property Details

The “audio” property

  “audio”                    AgsAudio *

The assigned audio.

Owner: AgsWaveLoader

Flags: Read / Write

Since: 3.0.0


The “audio-file” property

  “audio-file”               AgsAudioFile *

The audio file opened.

Owner: AgsWaveLoader

Flags: Read / Write

Since: 3.0.0


The “filename” property

  “filename”                 gchar *

The filename to open.

Owner: AgsWaveLoader

Flags: Read / Write

Default value: NULL

Since: 3.0.0