AgsAudiorec

AgsAudiorec — record audio data

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

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

Includes

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

Description

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

Functions

AGS_AUDIOREC_INPUT_LINE()

#define AGS_AUDIOREC_INPUT_LINE(ptr) ((AgsAudiorecInputLine *)(ptr))

ags_audiorec_open_filename ()

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

Open filename of audiorec .

Parameters

audiorec

the AgsAudiorec

 

filename

the filename

 

Since: 3.0.0


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

Types and Values

struct AgsAudiorecInputLine

struct AgsAudiorecInputLine {
  guint pad;
  guint audio_channel;

  guint line;

  gboolean mapped_recall;
};