AgsExportThread

AgsExportThread — export thread

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Includes

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

Description

The AgsExportThread acts as audio output thread to file.

Functions

ags_export_thread_find_soundcard ()

AgsExportThread *
ags_export_thread_find_soundcard (AgsExportThread *export_thread,
                                  GObject *soundcard);

Parameters

export_thread

the AgsExportThread

 

soundcard

the AgsSoundcard to find

 

Returns

the matching AgsExportThread, if not found NULL.

[transfer full]

Since: 3.0.0


ags_export_thread_new ()

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

Create a new instance of AgsExportThread.

Parameters

soundcard

the AgsSoundcard

 

audio_file

the output file

 

Returns

the new AgsExportThread

Since: 3.0.0

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

Enum values to control the behavior or indicate internal state of AgsExportThread by enable/disable as flags.

Members

AGS_EXPORT_THREAD_LIVE_PERFORMANCE

do live export