Method

AgsAudioIpatchSF2Readerget_instrument_by_preset_index

since: 3.0.0

Declaration [src]

gchar**
ags_ipatch_sf2_reader_get_instrument_by_preset_index (
  AgsIpatchSF2Reader* ipatch_sf2_reader,
  guint preset_index
)

Description [src]

Get instrument by preset index.

Available since: 3.0.0

Parameters

preset_index

Type: guint

The preset index.

Return value

Type: An array of utf8

The string vector cotaining instrument names or NULL on failure.

The array is NULL-terminated.
The caller of the method takes ownership of the data, and is responsible for freeing it.
Each element is a NUL terminated UTF-8 string.