AgsExportThread

AgsExportThread — export thread

Functions

Properties

AgsAudioFile * audio-file Read / Write
GObject * soundcard Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsThread
        ╰── AgsExportThread

Implemented Interfaces

AgsExportThread implements AgsConnectable.

Includes

#include <ags/audio/thread/ags_export_thread.h>

Description

The AgsExportThread acts as audio output thread to file.

Functions

ags_export_thread_new ()

AgsExportThread *
ags_export_thread_new (GObject *soundcard,
                       AgsAudioFile *audio_file);

Create a new AgsExportThread.

Parameters

soundcard

the AgsSoundcard

 

audio_file

the output file

 

Returns

the new AgsExportThread

Since: 0.4

Types and Values

AGS_EXPORT_THREAD_DEFAULT_JIFFIE

#define AGS_EXPORT_THREAD_DEFAULT_JIFFIE (ceil(AGS_SOUNDCARD_DEFAULT_SAMPLERATE / AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE) + AGS_SOUNDCARD_DEFAULT_OVERCLOCK) // same as soundcard thread


enum AgsExportThreadFlags

Members

AGS_EXPORT_THREAD_LIVE_PERFORMANCE

   

Property Details

The “audio-file” property

  “audio-file”               AgsAudioFile *

The audio file to write output.

Flags: Read / Write

Since: 0.4


The “soundcard” property

  “soundcard”                GObject *

The AgsSoundcard it is assigned to.

Flags: Write

Since: 0.4