Constructor

AgsAudioCancelAudionew

since: 3.0.0

Declaration [src]

AgsCancelAudio*
ags_cancel_audio_new (
  AgsAudio* audio,
  gint sound_scope
)

Description [src]

Create a new instance of AgsCancelAudio.

Available since: 3.0.0

Parameters

audio

Type: AgsAudio

The AgsAudio to cancel.

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

Type: gint

The AgsSoundScope-enum or -1 for all.

Return value

Type: AgsCancelAudio

The new AgsCancelAudio.

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