AgsAddAudio

AgsAddAudio — add audio object to soundcard

Functions

Properties

AgsAudio * audio Read / Write
GObject * soundcard Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsAddAudio

Implemented Interfaces

AgsAddAudio implements AgsConnectable.

Includes

#include <ags/audio/task/ags_add_audio.h>

Description

The AgsAddAudio task adds AgsAudio to AgsSoundcard.

Functions

ags_add_audio_new ()

AgsAddAudio *
ags_add_audio_new (GObject *soundcard,
                   AgsAudio *audio);

Creates an AgsAddAudio.

Parameters

soundcard

the AgsSoundcard

 

audio

the AgsAudio to add

 

Returns

an new AgsAddAudio.

Since: 1.0.0


AGS_ADD_AUDIO()

#define AGS_ADD_AUDIO(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_AUDIO, AgsAddAudio))

AGS_ADD_AUDIO_CLASS()

#define AGS_ADD_AUDIO_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_AUDIO, AgsAddAudioClass))

AGS_ADD_AUDIO_GET_CLASS()

#define AGS_ADD_AUDIO_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_AUDIO, AgsAddAudioClass))

AGS_IS_ADD_AUDIO()

#define AGS_IS_ADD_AUDIO(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_AUDIO))

ags_add_audio_get_type ()

GType
ags_add_audio_get_type ();

Types and Values

AGS_TYPE_ADD_AUDIO

#define AGS_TYPE_ADD_AUDIO                (ags_add_audio_get_type())

struct AgsAddAudio

struct AgsAddAudio;

struct AgsAddAudioClass

struct AgsAddAudioClass {
  AgsTaskClass task;
};

Property Details

The “audio” property

  “audio”                    AgsAudio *

The assigned AgsAudio

Flags: Read / Write

Since: 1.0.0


The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard

Flags: Read / Write

Since: 1.0.0