Method

AgsAudioIpatchSF2Readerget_sample_by_preset_and_instrument_index

since: 3.0.0

Declaration [src]

gchar**
ags_ipatch_sf2_reader_get_sample_by_preset_and_instrument_index (
  AgsIpatchSF2Reader* ipatch_sf2_reader,
  guint preset_index,
  guint instrument_index
)

Description [src]

Get sample by preset and instrument index.

Available since: 3.0.0

Parameters

preset_index

Type: guint

The preset index.

instrument_index

Type: guint

The instrument index.

Return value

Type: An array of utf8

The string vector cotaining sample names or NULL on failure.

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