AgsFFPlayer

AgsFFPlayer — ffplayer notation

Functions

Types and Values

Object Hierarchy

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

Implemented Interfaces

AgsFFPlayer implements AtkImplementorIface, GtkBuildable, AgsConnectable and AgsPlugin.

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_new ()

AgsFFPlayer *
ags_ffplayer_new (GObject *soundcard);

Creates an AgsFFPlayer

Parameters

soundcard

the assigned soundcard.

 

Returns

a new AgsFFPlayer

Since: 1.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

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;
};