AgsAudiorec

AgsAudiorec — record audio data

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

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

GList *
ags_audiorec_get_indicator (AgsAudiorec *audiorec);

Get indicator.

Parameters

audiorec

the AgsAudiorec

 

Returns

the GList containing AgsIndicator

Since: 4.0.0


ags_audiorec_add_indicator ()

void
ags_audiorec_add_indicator (AgsAudiorec *audiorec,
                            AgsIndicator *indicator);

Add indicator to audiorec .

Parameters

audiorec

the AgsAudiorec

 

indicator

the AgsIndicator

 

Since: 4.0.0


ags_audiorec_remove_indicator ()

void
ags_audiorec_remove_indicator (AgsAudiorec *audiorec,
                               AgsIndicator *indicator);

Remove indicator from audiorec .

Parameters

audiorec

the AgsAudiorec

 

indicator

the AgsIndicator

 

Since: 4.0.0


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

AgsAudiorec *
ags_audiorec_new (GObject *output_soundcard);

Create a new instance of AgsAudiorec

Parameters

output_soundcard

the assigned output soundcard.

 

Returns

the new AgsAudiorec

Since: 3.0.0

Types and Values

AGS_AUDIOREC_DEFAULT_SEGMENT_WIDTH

#define AGS_AUDIOREC_DEFAULT_SEGMENT_WIDTH (7)

AGS_AUDIOREC_DEFAULT_SEGMENT_HEIGHT

#define AGS_AUDIOREC_DEFAULT_SEGMENT_HEIGHT (16)

struct AgsAudiorecInputLine

struct AgsAudiorecInputLine {
  guint pad;
  guint audio_channel;

  guint line;

  gboolean mapped_recall;
};