AgsAudiorec

AgsAudiorec — record audio data

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

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

Implemented Interfaces

AgsAudiorec implements AtkImplementorIface, GtkBuildable and AgsConnectable.

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

void
ags_audiorec_fast_export (AgsAudiorec *audiorec,
                          gchar *filename,
                          guint64 start_frame,
                          guint64 end_frame);

Fast export audiorec .

Parameters

audiorec

the AgsAudiorec

 

filename

the filename

 

start_frame

the start frame

 

end_frame

the end frame

 

Since: 3.5.7


ags_audiorec_wave_loader_completed_timeout ()

gboolean
ags_audiorec_wave_loader_completed_timeout
                               (AgsAudiorec *audiorec);

Queue draw widget

Parameters

audiorec

the AgsAudiorec

 

Returns

TRUE if proceed poll completed, otherwise FALSE

Since: 3.0.0


ags_audiorec_indicator_queue_draw_timeout ()

gboolean
ags_audiorec_indicator_queue_draw_timeout
                               (AgsAudiorec *audiorec);

Queue draw widget

Parameters

audiorec

the AgsAudiorec

 

Returns

TRUE if proceed with redraw, otherwise FALSE

Since: 3.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: 3.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_IS_AUDIOREC_CLASS()

#define AGS_IS_AUDIOREC_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), 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;
};