AgsChannelThread

AgsChannelThread — channel thread

Functions

Properties

AgsChannel * channel Write
GObject * soundcard Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsThread
        ╰── AgsChannelThread

Implemented Interfaces

AgsChannelThread implements AgsConnectable.

Includes

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

Description

The AgsChannelThread acts as channel output thread to soundcard.

Functions

ags_channel_thread_new ()

AgsChannelThread *
ags_channel_thread_new (GObject *soundcard,
                        GObject *channel);

Create a new AgsChannelThread.

Parameters

soundcard

the GObject

 

channel

the AgsChannel

 

Returns

the new AgsChannelThread

Since: 0.4.2

Types and Values

AGS_CHANNEL_THREAD_DEFAULT_JIFFIE

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


enum AgsChannelThreadFlags

Members

AGS_CHANNEL_THREAD_DONE

   

AGS_CHANNEL_THREAD_WAIT

   

AGS_CHANNEL_THREAD_DONE_SYNC

   

AGS_CHANNEL_THREAD_WAIT_SYNC

   

Property Details

The “channel” property

  “channel”                  AgsChannel *

The AgsChannel 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