AgsInitChannel

AgsInitChannel — init channel object

Synopsis

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

struct              AgsInitChannel;
struct              AgsInitChannelClass;
AgsInitChannel *    ags_init_channel_new                (AgsChannel *channel,
                                                         gboolean play_pad,
                                                         gboolean playback,
                                                         gboolean sequencer,
                                                         gboolean notation);

Description

The AgsInitChannel task inits AgsChannel.

Details

struct AgsInitChannel

struct AgsInitChannel {
  AgsTask task;

  AgsChannel *channel;
  gboolean play_pad;

  gboolean playback;
  gboolean sequencer;
  gboolean notation;
};

struct AgsInitChannelClass

struct AgsInitChannelClass {
  AgsTaskClass task;
};

ags_init_channel_new ()

AgsInitChannel *    ags_init_channel_new                (AgsChannel *channel,
                                                         gboolean play_pad,
                                                         gboolean playback,
                                                         gboolean sequencer,
                                                         gboolean notation);

Creates an AgsInitChannel.

channel :

the AgsChannel

play_pad :

TRUE all channels of accordig pad are initialized

playback :

init playback

sequencer :

init sequencer

notation :

init notation

Returns :

an new AgsInitChannel.

Since 0.4