Constructor

AgsAudioCancelChannelnew

since: 3.0.0

Declaration [src]

AgsCancelChannel*
ags_cancel_channel_new (
  AgsChannel* channel,
  gint sound_scope
)

Description [src]

Create a new instance of AgsCancelChannel.

Available since: 3.0.0

Parameters

channel

Type: AgsChannel

The AgsChannel 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: AgsCancelChannel

The new AgsCancelChannel.

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