Constructor

AgsAudioSFZInstrumentLoadernew

since: 3.17.0

Declaration [src]

AgsSFZInstrumentLoader*
ags_sfz_instrument_loader_new (
  AgsAudio* audio,
  gchar* filename
)

Description [src]

Create a new instance of AgsSFZInstrumentLoader.

Available since: 3.17.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.

Return value

Type: AgsSFZInstrumentLoader

The new AgsSFZInstrumentLoader.

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