| Top |
| #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
gboolean
ags_navigation_duration_time_queue_draw_timeout
(GtkWidget *widget);
AgsNavigation * ags_navigation_new ();
Create a new instance of AgsNavigation to control the tree.
Since: 3.0.0
“soundcard” property“soundcard” GObject *
The assigned AgsSoundcard to use as default sink.
Owner: AgsNavigation
Flags: Read / Write
Since: 3.0.0
“change-position” signalvoid user_function (AgsNavigation *navigation, double tact, gpointer user_data)
The ::change-position seeks the stream.
navigation |
the AgsNavigation |
|
tact |
the new position |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0