| Top |
#define AGS_FRAME_CLOCK_GET_OBJ_MUTEX(obj) (&(((AgsFrameClock *) obj)->obj_mutex))
gboolean ags_frame_clock_test_flags (AgsFrameClock *frame_clock,AgsFrameClockFlags flags);
Test flags
to be set.
Since: 9.0.0
void ags_frame_clock_set_flags (AgsFrameClock *frame_clock,AgsFrameClockFlags flags);
Set flags
of frame_clock
.
Since: 9.0.0
void ags_frame_clock_unset_flags (AgsFrameClock *frame_clock,AgsFrameClockFlags flags);
Unset flags
of frame_clock
.
Since: 9.0.0
guint
ags_frame_clock_get_buffer_size (AgsFrameClock *frame_clock);
Get buffer size of frame_clock
.
Since: 9.0.0
void ags_frame_clock_set_buffer_size (AgsFrameClock *frame_clock,guint buffer_size);
Set buffer size of frame_clock
.
Since: 9.0.0
guint
ags_frame_clock_get_samplerate (AgsFrameClock *frame_clock);
Get samplerate of frame_clock
.
Since: 9.0.0
void ags_frame_clock_set_samplerate (AgsFrameClock *frame_clock,guint samplerate);
Set samplerate of frame_clock
.
Since: 9.0.0
gdouble
ags_frame_clock_get_bpm (AgsFrameClock *frame_clock);
Get bpm of frame_clock
.
Since: 9.0.0
void ags_frame_clock_set_bpm (AgsFrameClock *frame_clock,gdouble bpm);
Set bpm of frame_clock
.
Since: 9.0.0
void ags_frame_clock_set_start_note_offset (AgsFrameClock *frame_clock,guint64 start_note_offset);
Set start note offset of frame_clock
.
Since: 9.0.0
guint64
ags_frame_clock_get_start_note_offset (AgsFrameClock *frame_clock);
Get start note offset of frame_clock
.
Since: 9.0.0
guint64
ags_frame_clock_get_absolute_frame_offset
(AgsFrameClock *frame_clock);
Get absolute frame offset of frame_clock
.
Since: 9.0.0
guint64
ags_frame_clock_get_frame_offset (AgsFrameClock *frame_clock);
Get frame offset of frame_clock
.
Since: 9.0.0
gboolean
ags_frame_clock_get_has_16th_pulse (AgsFrameClock *frame_clock);
Get has 16th pulse of frame_clock
.
Since: 9.0.0
gboolean
ags_frame_clock_get_has_256th_pulse (AgsFrameClock *frame_clock);
Get has 256th pulse of frame_clock
.
Since: 9.0.0
gboolean ags_frame_clock_get_loop (AgsFrameClock *frame_clock,guint64 *loop_left,guint64 *loop_right);
Get loop of frame_clock
.
frame_clock |
the AgsFrameClock |
|
loop_left |
return location of loop left. |
[out] |
loop_right |
return location of loop right. |
[out] |
Since: 9.0.0
void ags_frame_clock_set_loop (AgsFrameClock *frame_clock,gboolean do_loop,guint64 loop_left,guint64 loop_right);
Get loop of frame_clock
.
frame_clock |
the AgsFrameClock |
|
do_loop |
do loop if |
|
loop_left |
loop left |
|
loop_right |
loop right |
Since: 9.0.0
guint64
ags_frame_clock_get_absolute_note_offset
(AgsFrameClock *frame_clock);
Get absolute note offset of frame_clock
.
Since: 9.0.0
guint64
ags_frame_clock_get_note_offset (AgsFrameClock *frame_clock);
Get note offset of frame_clock
.
Since: 9.0.0
void ags_frame_clock_set_note_offset (AgsFrameClock *frame_clock,guint64 note_offset);
Set note offset of frame_clock
.
Since: 9.0.0
guint64
ags_frame_clock_get_note_frame_offset (AgsFrameClock *frame_clock);
Get note frame offset of frame_clock
.
Since: 9.0.0
void ags_frame_clock_get_absolute_note_256th_offset (AgsFrameClock *frame_clock,guint64 *absolute_note_256th_offset,guint *length);
Get absolute note 256th offset of frame_clock
.
frame_clock |
the AgsFrameClock |
|
absolute_note_256th_offset |
return location of note 256th offset, maximum length 16. |
[out] |
length |
return location of length. |
[out] |
Since: 9.0.0
void ags_frame_clock_get_note_256th_offset (AgsFrameClock *frame_clock,guint64 *note_256th_offset,guint *length);
Get note 256th offset of frame_clock
.
frame_clock |
the AgsFrameClock |
|
note_256th_offset |
return location of note 256th offset, maximum length 16. |
[out] |
length |
return location of length. |
[out] |
Since: 9.0.0
void ags_frame_clock_get_note_256th_frame_offset (AgsFrameClock *frame_clock,guint64 *note_256th_frame_offset,guint *length);
Get note 256th frame offset of frame_clock
.
frame_clock |
the AgsFrameClock |
|
note_256th_frame_offset |
return location of note 256th frame offset. |
[out] |
length |
return location of array length, maximum 16 items. |
[out] |
Since: 9.0.0
void ags_frame_clock_copy_time (AgsFrameClock *destination,AgsFrameClock *source);
Copy time of source
to destination
.
Since: 9.0.0
void
ags_frame_clock_start (AgsFrameClock *frame_clock);
Start frame_clock
.
Since: 9.0.0
void
ags_frame_clock_stop (AgsFrameClock *frame_clock);
Stop frame_clock
.
Since: 9.0.0
void
ags_frame_clock_increment_counter (AgsFrameClock *frame_clock);
Increment counter of frame_clock
.
Since: 9.0.0
void ags_frame_clock_from_string (AgsFrameClock *frame_clock,gchar *str);
Frame clock from string.
Since: 9.0.0
gchar *
ags_frame_clock_to_string (AgsFrameClock *frame_clock);
Frame clock to string.
Since: 9.0.0
gchar *
ags_frame_clock_to_time_string (AgsFrameClock *frame_clock);
Frame clock to time string.
Since: 9.0.0
AgsFrameClock * ags_frame_clock_get_instance ();
Singleton frame clock.
Since: 9.0.0
AgsFrameClock * ags_frame_clock_new ();
Creates an AgsFrameClock
Since: 9.0.0
#define AGS_FRAME_CLOCK_DEFAULT_SYNC_POINT_ARRAY_LENGTH (2048.0)
#define AGS_FRAME_CLOCK_DEFAULT_SYNC_POINT_ARRAY_LIST_LENGTH (8192.0)
#define AGS_FRAME_CLOCK_DEFAULT_PERIOD (AGS_FRAME_CLOCK_DEFAULT_SYNC_POINT_ARRAY_LIST_LENGTH * AGS_FRAME_CLOCK_DEFAULT_SYNC_POINT_ARRAY_LENGTH)
#define AGS_FRAME_CLOCK_DEFAULT_PERIOD_256TH (16.0 * AGS_FRAME_CLOCK_DEFAULT_SYNC_POINT_ARRAY_LIST_LENGTH * AGS_FRAME_CLOCK_DEFAULT_SYNC_POINT_ARRAY_LENGTH)
Enum values to control the behavior or indicate internal state of AgsFrameClock by enable/disable as sync_flags.