Constructor
AgsAudioOpenSFZFilenew
since: 3.4.0
Declaration [src]
AgsOpenSFZFile*
ags_open_sfz_file_new (
AgsAudio* audio,
AgsSFZFile* sfz_file,
gchar* filename,
guint start_pad
)
Parameters
audio
-
Type:
AgsAudio
The
AgsAudio
.The data is owned by the caller of the function. sfz_file
-
Type:
AgsSFZFile
The
AgsSFZFile
orNULL
.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: AgsOpenSFZFile
An new AgsOpenSFZFile
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |