AgsOpenWave

AgsOpenWave — open wave

Functions

Properties

AgsAudio * audio Read / Write
AgsAudioFile * audio-file Read / Write
gchar * filename Read / Write
guint start-pad Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsOpenWave

Includes

#include <ags/audio/task/ags_open_wave.h>

Description

The AgsOpenWave task opens audio files as wave.

Functions

ags_open_wave_new ()

AgsOpenWave *
ags_open_wave_new (AgsAudio *audio,
                   AgsAudioFile *audio_file,
                   gchar *filename,
                   guint start_pad);

Creates an AgsOpenWave.

Parameters

audio

the AgsAudio

 

audio_file

the AgsAudioFile or NULL

 

filename

the Soundfont2 file

 

start_pad

the pad start

 

Returns

an new AgsOpenWave.

Since: 3.0.0


AGS_IS_OPEN_WAVE()

#define AGS_IS_OPEN_WAVE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OPEN_WAVE))

AGS_OPEN_WAVE()

#define AGS_OPEN_WAVE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OPEN_WAVE, AgsOpenWave))

AGS_OPEN_WAVE_CLASS()

#define AGS_OPEN_WAVE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OPEN_WAVE, AgsOpenWaveClass))

AGS_OPEN_WAVE_GET_CLASS()

#define AGS_OPEN_WAVE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OPEN_WAVE, AgsOpenWaveClass))

ags_open_wave_get_type ()

GType
ags_open_wave_get_type ();

Types and Values

AGS_TYPE_OPEN_WAVE

#define AGS_TYPE_OPEN_WAVE                (ags_open_wave_get_type())

struct AgsOpenWave

struct AgsOpenWave;

struct AgsOpenWaveClass

struct AgsOpenWaveClass {
  AgsTaskClass task;
};

Property Details

The “audio” property

  “audio”                    AgsAudio *

The assigned AgsAudio

Owner: AgsOpenWave

Flags: Read / Write

Since: 3.0.0


The “audio-file” property

  “audio-file”               AgsAudioFile *

The assigned AgsAudioFile

Owner: AgsOpenWave

Flags: Read / Write

Since: 3.0.0


The “filename” property

  “filename”                 gchar *

The assigned filename.

Owner: AgsOpenWave

Flags: Read / Write

Default value: NULL

Since: 3.0.0


The “start-pad” property

  “start-pad”                guint

The assigned start-pad.

Owner: AgsOpenWave

Flags: Read / Write

Default value: 0

Since: 3.0.0