AgsCountBeatsAudioRun

AgsCountBeatsAudioRun — count beats

Synopsis

#include <ags/audio/recall/ags_count_beats_audio_run.h>

struct              AgsCountBeatsAudioRun;
struct              AgsCountBeatsAudioRunClass;
AgsCountBeatsAudioRun * ags_count_beats_audio_run_new   (AgsDelayAudioRun *delay_audio_run);
void                ags_count_beats_audio_run_notation_loop
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);
void                ags_count_beats_audio_run_notation_start
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);
void                ags_count_beats_audio_run_notation_stop
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);
void                ags_count_beats_audio_run_sequencer_loop
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);
void                ags_count_beats_audio_run_sequencer_start
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);
void                ags_count_beats_audio_run_sequencer_stop
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);

Description

The AgsCountBeatsAudioRun class count beats.

Details

struct AgsCountBeatsAudioRun

struct AgsCountBeatsAudioRun {
  AgsRecallAudioRun recall_audio_run;

  gboolean first_run;

  guint notation_counter;
  guint sequencer_counter;

  guint recall_ref;

  guint hide_ref;
  guint notation_hide_ref_counter;
  guint sequencer_hide_ref_counter;

  gulong sequencer_alloc_output_handler;
  gulong sequencer_count_handler;

  gulong notation_alloc_output_handler;
  gulong notation_count_handler;

  AgsDelayAudioRun *delay_audio_run;
};

struct AgsCountBeatsAudioRunClass

struct AgsCountBeatsAudioRunClass {
  AgsRecallAudioRunClass recall_audio_run;
  
  void (*notation_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
			 guint run_order);
  void (*notation_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			guint run_order);
  void (*notation_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			guint run_order);
  
  void (*sequencer_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
			  guint run_order);
  void (*sequencer_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			 guint run_order);
  void (*sequencer_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			 guint run_order);
};

ags_count_beats_audio_run_new ()

AgsCountBeatsAudioRun * ags_count_beats_audio_run_new   (AgsDelayAudioRun *delay_audio_run);

Creates an AgsCountBeatsAudioRun

delay_audio_run :

the AgsDelayAudioRun dependency

Returns :

a new AgsCountBeatsAudioRun

Since 0.4


ags_count_beats_audio_run_notation_loop ()

void                ags_count_beats_audio_run_notation_loop
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);

Emitted as notation loops playback.

count_beats_audio_run :

the AgsCountBeatsAudioRun

run_order :

the nth run order

Since 0.4


ags_count_beats_audio_run_notation_start ()

void                ags_count_beats_audio_run_notation_start
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);

Emitted as notation starts playback.

count_beats_audio_run :

the AgsCountBeatsAudioRun

run_order :

the nth run order

Since 0.4


ags_count_beats_audio_run_notation_stop ()

void                ags_count_beats_audio_run_notation_stop
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);

Emitted as notation stops playback.

count_beats_audio_run :

the AgsCountBeatsAudioRun

run_order :

the nth run order

Since 0.4


ags_count_beats_audio_run_sequencer_loop ()

void                ags_count_beats_audio_run_sequencer_loop
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);

Emitted as sequencer loops playback.

count_beats_audio_run :

the AgsCountBeatsAudioRun

run_order :

the nth run order

Since 0.4


ags_count_beats_audio_run_sequencer_start ()

void                ags_count_beats_audio_run_sequencer_start
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);

Emitted as sequencer starts playback.

count_beats_audio_run :

the AgsCountBeatsAudioRun

run_order :

the nth run order

Since 0.4


ags_count_beats_audio_run_sequencer_stop ()

void                ags_count_beats_audio_run_sequencer_stop
                                                        (AgsCountBeatsAudioRun *count_beats_audio_run,
                                                         guint run_order);

Emitted as sequencer stops playback.

count_beats_audio_run :

the AgsCountBeatsAudioRun

run_order :

the nth run order

Since 0.4