AgsFFPlayer

AgsFFPlayer — ffplayer notation

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkGrid
                ╰── AgsMachine
                    ╰── AgsFFPlayer

Includes

#include <ags/app/machine/ags_ffplayer.h>

Description

The AgsFFPlayer is a composite widget to act as soundfont2 notation player.

Functions

ags_ffplayer_paint ()

void
ags_ffplayer_paint (AgsFFPlayer *ffplayer);

ags_ffplayer_open_filename ()

void
ags_ffplayer_open_filename (AgsFFPlayer *ffplayer,
                            gchar *filename);

ags_ffplayer_load_preset ()

void
ags_ffplayer_load_preset (AgsFFPlayer *ffplayer);

ags_ffplayer_load_instrument ()

void
ags_ffplayer_load_instrument (AgsFFPlayer *ffplayer);

ags_ffplayer_update ()

void
ags_ffplayer_update (AgsFFPlayer *ffplayer);

Update ffplayer .

Parameters

ffplayer

the AgsFFPlayer

 

Since: 3.4.0


ags_ffplayer_sf2_loader_completed_timeout ()

gboolean
ags_ffplayer_sf2_loader_completed_timeout
                               (AgsFFPlayer *ffplayer);

Queue draw widget

Parameters

ffplayer

the AgsFFPlayer

 

Returns

TRUE if proceed poll completed, otherwise FALSE

Since: 3.0.0


ags_ffplayer_new ()

AgsFFPlayer *
ags_ffplayer_new (GObject *soundcard);

Create a new instance of AgsFFPlayer

Parameters

soundcard

the assigned soundcard.

 

Returns

the new AgsFFPlayer

Since: 3.0.0

Types and Values

AGS_FFPLAYER_DEFAULT_CONTROL_WIDTH

#define AGS_FFPLAYER_DEFAULT_CONTROL_WIDTH (12)

AGS_FFPLAYER_DEFAULT_CONTROL_HEIGHT

#define AGS_FFPLAYER_DEFAULT_CONTROL_HEIGHT (40)

enum AgsFFPlayerFlags

Members

AGS_FFPLAYER_NO_LOAD