Top |
guint64 | ags_countable_get_sequencer_counter () |
guint64 | ags_countable_get_notation_counter () |
guint64 | ags_countable_get_wave_counter () |
guint64 | 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() |
GType | ags_countable_get_type () |
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.
guint64
ags_countable_get_sequencer_counter (AgsCountable *countable
);
Retrieve current position of sequencer.
Since: 3.0.0
guint64
ags_countable_get_notation_counter (AgsCountable *countable
);
Retrieve current position of notation.
Since: 3.0.0
guint64
ags_countable_get_wave_counter (AgsCountable *countable
);
Retrieve current position of wave.
Since: 3.0.0
guint64
ags_countable_get_midi_counter (AgsCountable *countable
);
Retrieve current position of MIDI.
Since: 3.0.0
#define AGS_COUNTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COUNTABLE, AgsCountable))
#define AGS_COUNTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_COUNTABLE, AgsCountableInterface))
#define AGS_COUNTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_COUNTABLE, AgsCountableInterface))
#define AGS_IS_COUNTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_COUNTABLE))
#define AGS_IS_COUNTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_COUNTABLE))
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); };