AgsSoundcardThread

AgsSoundcardThread — soundcard thread

Functions

Properties

GObject * soundcard Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsThread
        ╰── AgsSoundcardThread

Implemented Interfaces

AgsSoundcardThread implements AgsConnectable.

Includes

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

Description

The AgsSoundcardThread acts as audio output thread to soundcard.

Functions

ags_soundcard_thread_find_soundcard ()

AgsSoundcardThread *
ags_soundcard_thread_find_soundcard (AgsSoundcardThread *soundcard_thread,
                                     GObject *soundcard);

Parameters

soundcard_thread

the AgsSoundcardThread

 

soundcard

the AgsSoundcard to find

 

Returns

the matching AgsSoundcardThread, if not found NULL.

Since: 1.0.0


ags_soundcard_thread_new ()

AgsSoundcardThread *
ags_soundcard_thread_new (GObject *soundcard);

Create a new AgsSoundcardThread.

Parameters

soundcard

the AgsSoundcard

 

Returns

the new AgsSoundcardThread

Since: 1.0.0


AGS_IS_SOUNDCARD_THREAD()

#define AGS_IS_SOUNDCARD_THREAD(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SOUNDCARD_THREAD))

AGS_SOUNDCARD_THREAD()

#define AGS_SOUNDCARD_THREAD(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SOUNDCARD_THREAD, AgsSoundcardThread))

AGS_SOUNDCARD_THREAD_CLASS()

#define AGS_SOUNDCARD_THREAD_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SOUNDCARD_THREAD, AgsSoundcardThreadClass))

AGS_SOUNDCARD_THREAD_GET_CLASS()

#define AGS_SOUNDCARD_THREAD_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SOUNDCARD_THREAD, AgsSoundcardThreadClass))

ags_soundcard_thread_get_type ()

GType
ags_soundcard_thread_get_type ();

Types and Values

AGS_SOUNDCARD_THREAD_DEFAULT_JIFFIE

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

AGS_TYPE_SOUNDCARD_THREAD

#define AGS_TYPE_SOUNDCARD_THREAD                (ags_soundcard_thread_get_type())

struct AgsSoundcardThread

struct AgsSoundcardThread;

struct AgsSoundcardThreadClass

struct AgsSoundcardThreadClass {
  AgsThreadClass thread;
};

Property Details

The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard.

Flags: Write

Since: 1.0.0