Constructor

AgsAudioWaveLoadernew

since: 3.0.0

Declaration [src]

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

Description [src]

Create a new instance of AgsWaveLoader.

Available since: 3.0.0

Parameters

audio

Type: AgsAudio

The AgsAudio.

The data is owned by the caller of the function.
filename

Type: gchar*

The filename.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
do_replace

Type: gboolean

If TRUE replace audios wave.

Return value

Type: AgsWaveLoader

The new AgsWaveLoader.

The caller of the function takes ownership of the data, and is responsible for freeing it.