Method

AgsAudioSoundResourceread_wave

since: 3.0.0

Declaration [src]

GList*
ags_sound_resource_read_wave (
  AgsSoundResource* sound_resource,
  GObject* soundcard,
  gint audio_channel,
  guint64 x_offset,
  gdouble delay,
  guint attack
)

Description [src]

Read wave from sound_resource.

Available since: 3.0.0

Parameters

soundcard

Type: GObject

The AgsSoundcard.

The data is owned by the caller of the function.
audio_channel

Type: gint

The audio channel or -1 for all.

x_offset

Type: guint64

The x offset.

delay

Type: gdouble

The delay.

attack

Type: guint

The attack.

Return value

Type: A list of None

A GList-struct containing AgsWave.

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