AgsNavigation

AgsNavigation — control audio object's playback.

Functions

Types and Values

Includes

#include <ags/X/ags_navigation.h>

Description

AgsNavigation is a composite widget to control playback of AgsAudio objects. It can start AgsMachine in bulk mode or position the stream.

Functions

AGS_NAVIGATION_DEFAULT_TACT_STEP

#define AGS_NAVIGATION_DEFAULT_TACT_STEP (1.0)


AGS_NAVIGATION_SEEK_STEPS

#define AGS_NAVIGATION_SEEK_STEPS (1.0)


AGS_NAVIGATION_REWIND_STEPS

#define AGS_NAVIGATION_REWIND_STEPS (4.0)


ags_navigation_tact_to_time_string ()

gchar *
ags_navigation_tact_to_time_string (gdouble tact);

Convert tact unit to time.

Parameters

tact

the new position

 

Returns

tact as time string

Since 0.4


ags_navigation_update_time_string ()

void
ags_navigation_update_time_string (double tact,
                                   gchar *time_string);

Updates time as string.

Parameters

tact

the new position

 

Since 0.4


ags_navigation_set_seeking_sensitive ()

void
ags_navigation_set_seeking_sensitive (AgsNavigation *navigation,
                                      gboolean enabled);


ags_navigation_change_position ()

void
ags_navigation_change_position (AgsNavigation *navigation,
                                gdouble tact);

Change tact position of editor. The scrollbar is adjustet and its playback position seeked.

Parameters

navigation

the AgsNavigation

 

tact

the new position

 

Since 0.4


ags_navigation_new ()

AgsNavigation *
ags_navigation_new ();

Creates an AgsNavigation to control the tree.

Returns

a new AgsNavigation

Since 0.4

Types and Values

enum AgsNavigationFlags

Members

AGS_NAVIGATION_BLOCK_TACT

   

AGS_NAVIGATION_BLOCK_PLAY

   

AGS_NAVIGATION_BLOCK_TIC