AgsAudioThread

AgsAudioThread — audio thread

Functions

Properties

AgsAudio * audio Write
GObject * soundcard Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsThread
        ╰── AgsAudioThread

Implemented Interfaces

AgsAudioThread implements AgsConnectable.

Includes

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

Description

The AgsAudioThread acts as audio output thread to soundcard.

Functions

ags_audio_thread_new ()

AgsAudioThread *
ags_audio_thread_new (GObject *soundcard,
                      GObject *audio);

Create a new AgsAudioThread.

Parameters

soundcard

the GObject

 

audio

the AgsAudio

 

Returns

the new AgsAudioThread

Since: 0.4.2

Types and Values

AGS_AUDIO_THREAD_DEFAULT_JIFFIE

#define AGS_AUDIO_THREAD_DEFAULT_JIFFIE (ceil(AGS_SOUNDCARD_DEFAULT_SAMPLERATE / AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE) + AGS_SOUNDCARD_DEFAULT_OVERCLOCK)


enum AgsAudioThreadFlags

Members

AGS_AUDIO_THREAD_DONE

   

AGS_AUDIO_THREAD_WAIT

   

AGS_AUDIO_THREAD_DONE_SYNC

   

AGS_AUDIO_THREAD_WAIT_SYNC

   

Property Details

The “audio” property

  “audio”                    AgsAudio *

The AgsAudio it is assigned to.

Flags: Write

Since: 0.4.2


The “soundcard” property

  “soundcard”                GObject *

The AgsSoundcard it is assigned to.

Flags: Write

Since: 0.7.0