AgsFFPlayer

AgsFFPlayer — ffplayer notation

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── AgsMachine
                        ╰── AgsFFPlayer

Implemented Interfaces

AgsFFPlayer implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

#include <ags/X/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_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


AGS_FFPLAYER()

#define AGS_FFPLAYER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FFPLAYER, AgsFFPlayer))

AGS_FFPLAYER_CLASS()

#define AGS_FFPLAYER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FFPLAYER, AgsFFPlayerClass))

AGS_FFPLAYER_GET_CLASS()

#define AGS_FFPLAYER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_FFPLAYER, AgsFFPlayerClass))

AGS_IS_FFPLAYER()

#define AGS_IS_FFPLAYER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_FFPLAYER))

ags_ffplayer_get_type ()

GType
ags_ffplayer_get_type (void);

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

   

AGS_TYPE_FFPLAYER

#define AGS_TYPE_FFPLAYER                (ags_ffplayer_get_type())

struct AgsFFPlayer

struct AgsFFPlayer;

struct AgsFFPlayerClass

struct AgsFFPlayerClass {
  AgsMachineClass machine;
};