Method

AgsAudioAudioContainerfind_sound_resource

since: 3.0.0

Declaration [src]

GList*
ags_audio_container_find_sound_resource (
  AgsAudioContainer* audio_container,
  gchar* preset,
  gchar* instrument,
  gchar* sample
)

Description [src]

Find resource specified by parameters.

Available since: 3.0.0

Parameters

preset

Type: gchar*

The preset.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
instrument

Type: gchar*

The instrument.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
sample

Type: gchar*

The sample.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: A list of GObject*

The GList-struct containing GObject sample or NULL. WARNING the parameters need to be valid in order to return the correct list.

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