AgsExportOutput

AgsExportOutput — export output task

Functions

Properties

AgsExportThread * export-thread Read / Write
gchar * filename Read / Write
guint format Read / Write
gboolean live-performance Read / Write
GObject * soundcard Read / Write
guint tic Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsExportOutput

Implemented Interfaces

AgsExportOutput implements AgsConnectable.

Includes

#include <ags/audio/task/ags_export_output.h>

Description

The AgsExportOutput task exports GObject to file.

Functions

ags_export_output_new ()

AgsExportOutput *
ags_export_output_new (AgsExportThread *export_thread,
                       GObject *soundcard,
                       gchar *filename,
                       guint tic,
                       gboolean live_performance);

Creates an AgsExportOutput.

Parameters

export_thread

the AgsExportThread to start

 

soundcard

the GObject to export

 

filename

the filename to save

 

tic

stream duration in tact

 

live_performance

if TRUE export is done during real-time

 

Returns

an new AgsExportOutput.

Since: 1.0.0


AGS_EXPORT_OUTPUT()

#define AGS_EXPORT_OUTPUT(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPORT_OUTPUT, AgsExportOutput))

AGS_EXPORT_OUTPUT_CLASS()

#define AGS_EXPORT_OUTPUT_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPORT_OUTPUT, AgsExportOutputClass))

AGS_EXPORT_OUTPUT_GET_CLASS()

#define AGS_EXPORT_OUTPUT_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPORT_OUTPUT, AgsExportOutputClass))

AGS_IS_EXPORT_OUTPUT()

#define AGS_IS_EXPORT_OUTPUT(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPORT_OUTPUT))

ags_export_output_get_type ()

GType
ags_export_output_get_type ();

Types and Values

enum AgsExportOutputFormat

Enum values to control output format of AgsExportOutput.

Members

AGS_EXPORT_OUTPUT_FORMAT_WAV

use WAV format

 

AGS_EXPORT_OUTPUT_FORMAT_OGG

use OGG format

 

AGS_EXPORT_OUTPUT_FORMAT_FLAC

use FLAC format

 

AGS_TYPE_EXPORT_OUTPUT

#define AGS_TYPE_EXPORT_OUTPUT                (ags_export_output_get_type())

struct AgsExportOutput

struct AgsExportOutput;

struct AgsExportOutputClass

struct AgsExportOutputClass {
  AgsTaskClass task;
};

Property Details

The “export-thread” property

  “export-thread”            AgsExportThread *

The assigned AgsExportThread

Flags: Read / Write

Since: 1.0.0


The “filename” property

  “filename”                 gchar *

The assigned filename.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “format” property

  “format”                   guint

Format to use.

Flags: Read / Write

Default value: 0

Since: 1.0.0


The “live-performance” property

  “live-performance”         gboolean

Do output the audio export live.

Flags: Read / Write

Default value: FALSE

Since: 1.0.0


The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard

Flags: Read / Write

Since: 1.0.0


The “tic” property

  “tic”                      guint

Tic offset of output as end tic of it.

Flags: Read / Write

Default value: 0

Since: 1.0.0