AgsCancelChannel

AgsCancelChannel — cancel channel object

Synopsis

#include <ags/audio/task/ags_cancel_channel.h>

struct              AgsCancelChannel;
struct              AgsCancelChannelClass;
AgsCancelChannel *  ags_cancel_channel_new              (AgsChannel *channel,
                                                         AgsRecallID *recall_id,
                                                         AgsDevoutPlay *play);

Description

The AgsCancelChannel task cancels AgsChannel playback.

Details

struct AgsCancelChannel

struct AgsCancelChannel {
  AgsTask task;

  AgsChannel *channel;
  AgsRecallID *recall_id;

  AgsDevoutPlay *play;
};

struct AgsCancelChannelClass

struct AgsCancelChannelClass {
  AgsTaskClass task;
};

ags_cancel_channel_new ()

AgsCancelChannel *  ags_cancel_channel_new              (AgsChannel *channel,
                                                         AgsRecallID *recall_id,
                                                         AgsDevoutPlay *play);

Creates an AgsCancelChannel.

channel :

the AgsChannel to cancel

recall_id :

the AgsRecallID to cancel

play :

the AgsDevoutPlay

Returns :

an new AgsCancelChannel.

Since 0.4