Top |
Functions
|
ags_countable_get_sequencer_counter () |
|
ags_countable_get_notation_counter () |
|
ags_countable_get_wave_counter () |
|
ags_countable_get_midi_counter () |
#define | AGS_COUNTABLE() |
#define | AGS_COUNTABLE_GET_INTERFACE() |
#define | AGS_COUNTABLE_INTERFACE() |
#define | AGS_IS_COUNTABLE() |
#define | AGS_IS_COUNTABLE_INTERFACE() |
|
ags_countable_get_type () |
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_sequencer_counter ()
guint64 ags_countable_get_sequencer_counter (AgsCountable *countable
);
Retrieve current position of sequencer.
Since:
ags_countable_get_notation_counter ()
guint64 ags_countable_get_notation_counter (AgsCountable *countable
);
Retrieve current position of notation.
Since:
ags_countable_get_wave_counter ()
guint64 ags_countable_get_wave_counter (AgsCountable *countable
);
Retrieve current position of wave.
Since:
ags_countable_get_midi_counter ()
guint64 ags_countable_get_midi_counter (AgsCountable *countable
);
Retrieve current position of MIDI.
Since:
AGS_COUNTABLE()
#define AGS_COUNTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COUNTABLE, AgsCountable))
AGS_COUNTABLE_GET_INTERFACE()
#define AGS_COUNTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_COUNTABLE, AgsCountableInterface))
AGS_COUNTABLE_INTERFACE()
#define AGS_COUNTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_COUNTABLE, AgsCountableInterface))
AGS_IS_COUNTABLE()
#define AGS_IS_COUNTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_COUNTABLE))
AGS_IS_COUNTABLE_INTERFACE()
#define AGS_IS_COUNTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_COUNTABLE))
Types and Values
struct AgsCountableInterface
struct AgsCountableInterface { GTypeInterface ginterface; guint64 (*get_sequencer_counter)(AgsCountable *countable); guint64 (*get_notation_counter)(AgsCountable *countable); guint64 (*get_wave_counter)(AgsCountable *countable); guint64 (*get_midi_counter)(AgsCountable *countable); };