AgsAudiorec

AgsAudiorec — record audio data

Functions

Types and Values

Object Hierarchy

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

Implemented Interfaces

AgsAudiorec implements AtkImplementorIface, GtkBuildable, AgsConnectable and AgsPlugin.

Includes

#include <ags/X/machine/ags_audiorec.h>

Description

The AgsAudiorec is a composite widget to act as capture source.

Functions

ags_audiorec_open_filename ()

void
ags_audiorec_open_filename (AgsAudiorec *audiorec,
                            gchar *filename);

ags_audiorec_wave_loader_completed_timeout ()

gboolean
ags_audiorec_wave_loader_completed_timeout
                               (AgsAudiorec *audiorec);

Queue draw widget

Parameters

widget

the widget

 

Returns

TRUE if proceed poll completed, otherwise FALSE

Since: 2.0.13


ags_audiorec_indicator_queue_draw_timeout ()

gboolean
ags_audiorec_indicator_queue_draw_timeout
                               (AgsAudiorec *audiorec);

Queue draw widget

Parameters

widget

the widget

 

Returns

TRUE if proceed with redraw, otherwise FALSE

Since: 2.0.0


ags_audiorec_new ()

AgsAudiorec *
ags_audiorec_new (GObject *soundcard);

Create a new instance of AgsAudiorec

Parameters

soundcard

the assigned soundcard.

 

Returns

the new AgsAudiorec

Since: 2.0.0


AGS_AUDIOREC()

#define AGS_AUDIOREC(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIOREC, AgsAudiorec))

AGS_AUDIOREC_CLASS()

#define AGS_AUDIOREC_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIOREC, AgsAudiorecClass))

AGS_AUDIOREC_GET_CLASS()

#define AGS_AUDIOREC_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_AUDIOREC, AgsAudiorecClass))

AGS_IS_AUDIOREC()

#define AGS_IS_AUDIOREC(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_AUDIOREC))

ags_audiorec_get_type ()

GType
ags_audiorec_get_type (void);

Types and Values

AGS_TYPE_AUDIOREC

#define AGS_TYPE_AUDIOREC                (ags_audiorec_get_type())

struct AgsAudiorec

struct AgsAudiorec;

struct AgsAudiorecClass

struct AgsAudiorecClass {
  AgsMachineClass machine;
};