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


AGS_EXPORT_THREAD()

#define AGS_EXPORT_THREAD(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPORT_THREAD, AgsExportThread))


AGS_EXPORT_THREAD_CLASS()

#define AGS_EXPORT_THREAD_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_EXPORT_THREAD, AgsExportThreadClass))


AGS_EXPORT_THREAD_GET_CLASS()

#define AGS_EXPORT_THREAD_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_EXPORT_THREAD, AgsExportThreadClass))


AGS_IS_EXPORT_THREAD()

#define AGS_IS_EXPORT_THREAD(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_EXPORT_THREAD))


AGS_IS_EXPORT_THREAD_CLASS()

#define AGS_IS_EXPORT_THREAD_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_EXPORT_THREAD))


ags_export_thread_get_type ()

GType
ags_export_thread_get_type ();

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

   

AGS_TYPE_EXPORT_THREAD

#define AGS_TYPE_EXPORT_THREAD                (ags_export_thread_get_type())


struct AgsExportThread

struct AgsExportThread;


struct AgsExportThreadClass

struct AgsExportThreadClass {
  AgsThreadClass thread;
};

Property Details

The “audio-file” property

  “audio-file”               AgsAudioFile *

The assigned AgsAudioFile.

Flags: Read / Write

Since: 0.4


The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard.

Flags: Write

Since: 0.4