krähemann.com

AgsExportOutput

AgsExportOutput — export output task

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

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsExportOutput

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

#define AGS_IS_EXPORT_OUTPUT_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), 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_EXPORT_OUTPUT_FORMAT_AIFF

use AIFF 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

Owner: AgsExportOutput

Flags: Read / Write

Since: 3.0.0


The “filename” property

  “filename”                 gchar *

The assigned filename.

Owner: AgsExportOutput

Flags: Read / Write

Default value: NULL

Since: 3.0.0


The “format” property

  “format”                   guint

Format to use.

Owner: AgsExportOutput

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “live-performance” property

  “live-performance”         gboolean

Do output the audio export live.

Owner: AgsExportOutput

Flags: Read / Write

Default value: FALSE

Since: 3.0.0


The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard

Owner: AgsExportOutput

Flags: Read / Write

Since: 3.0.0


The “tic” property

  “tic”                      guint

Tic offset of output as end tic of it.

Owner: AgsExportOutput

Flags: Read / Write

Default value: 0

Since: 3.0.0