AgsCountable

AgsCountable — a counter interface

Functions

Object Hierarchy

    GInterface
    ╰── AgsCountable

Known Implementations

AgsCountable is implemented by AgsCountBeatsAudioRun.

Includes

#include <ags/object/ags_countable.h>

Description

The AgsCountable interface gives you a unique access to counters. Generally we distinguish between notation and sequencer counters. Those may have their own relative positions, especially the sequencers may loop.

Functions

ags_countable_get_notation_counter ()

guint
ags_countable_get_notation_counter (AgsCountable *countable);

Retrieve current position of notation.

Parameters

countable

an AgsCountable

 

Returns

the current position

Since: 0.4


ags_countable_get_sequencer_counter ()

guint
ags_countable_get_sequencer_counter (AgsCountable *countable);

Retrieve current position of sequencer.

Parameters

countable

an AgsCountable

 

Returns

the current position

Since: 0.4

Types and Values