Constructor

AgsAudioOpenWavenew

since: 3.0.0

Declaration [src]

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

Description [src]

Creates an AgsOpenWave.

Available since: 3.0.0

Parameters

audio

Type: AgsAudio

The AgsAudio.

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

Type: AgsAudioFile

The AgsAudioFile or NULL.

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

Type: gchar*

The Soundfont2 file.

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

Type: guint

The pad start.

Return value

Type: AgsOpenWave

An new AgsOpenWave.

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