Top |
gchar * | ags_navigation_tact_to_time_string () |
gchar * | ags_navigation_relative_tact_to_time_string () |
gchar * | ags_navigation_absolute_tact_to_time_string () |
void | ags_navigation_update_time_string () |
void | ags_navigation_set_seeking_sensitive () |
void | ags_navigation_change_position () |
AgsNavigation * | ags_navigation_new () |
#define | AGS_NAVIGATION_DEFAULT_BPM |
#define | AGS_NAVIGATION_DEFAULT_TACT_STEP |
#define | AGS_NAVIGATION_SEEK_STEPS |
#define | AGS_NAVIGATION_REWIND_STEPS |
#define | AGS_NAVIGATION_DURATION_ZERO |
#define | AGS_NAVIGATION_MAX_POSITION_TACT |
#define | AGS_NAVIGATION_MAX_POSITION_TICS |
enum | AgsNavigationFlags |
AgsNavigation is a composite widget to control playback of AgsAudio objects. It can start AgsMachine in bulk mode or position the stream.
gchar * ags_navigation_tact_to_time_string (gdouble tact
,gdouble bpm
,gdouble delay_factor
);
Convert tact unit to time.
Since: 3.0.0
gchar * ags_navigation_relative_tact_to_time_string (gchar *timestr
,gdouble delay
,gdouble bpm
,gdouble delay_factor
);
gchar * ags_navigation_absolute_tact_to_time_string (gdouble tact
,gdouble bpm
,gdouble delay_factor
);
void ags_navigation_update_time_string (double tact
,gdouble bpm
,gdouble delay_factor
,gchar *time_string
);
Updates time as string.
tact |
the new position |
|
bpm |
the BPM |
|
delay_factor |
the delay factor |
|
time_string |
the pointer location to set |
Since: 3.0.0
void ags_navigation_set_seeking_sensitive (AgsNavigation *navigation
,gboolean enabled
);
void ags_navigation_change_position (AgsNavigation *navigation
,gdouble tact
);
Change tact position of editor. The scrollbar is adjustet and its playback position seeked.
Since: 3.0.0