Constructor

AgsAudioSFZLoadernew

since: 3.0.0

Declaration [src]

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

Description [src]

Create a new instance of AgsSFZLoader.

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 sfz.

Return value

Type: AgsSFZLoader

The new AgsSFZLoader.

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