AgsAddSoundcard

AgsAddSoundcard — add soundcard object to context

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsAddSoundcard

Includes

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

Description

The AgsAddSoundcard task adds AgsSoundcard to context.

Functions

ags_add_soundcard_new ()

AgsAddSoundcard *
ags_add_soundcard_new (AgsApplicationContext *application_context,
                       GObject *soundcard);

Create a new instance of AgsAddSoundcard.

Parameters

application_context

the AgsApplicationContext

 

soundcard

the AgsSoundcard to add

 

Returns

the new AgsAddSoundcard.

Since: 2.0.0


AGS_ADD_SOUNDCARD()

#define AGS_ADD_SOUNDCARD(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_SOUNDCARD, AgsAddSoundcard))

AGS_ADD_SOUNDCARD_CLASS()

#define AGS_ADD_SOUNDCARD_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_SOUNDCARD, AgsAddSoundcardClass))

AGS_ADD_SOUNDCARD_GET_CLASS()

#define AGS_ADD_SOUNDCARD_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_SOUNDCARD, AgsAddSoundcardClass))

AGS_IS_ADD_SOUNDCARD()

#define AGS_IS_ADD_SOUNDCARD(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_SOUNDCARD))

ags_add_soundcard_get_type ()

GType
ags_add_soundcard_get_type ();

Types and Values

AGS_TYPE_ADD_SOUNDCARD

#define AGS_TYPE_ADD_SOUNDCARD                (ags_add_soundcard_get_type())

struct AgsAddSoundcard

struct AgsAddSoundcard;

struct AgsAddSoundcardClass

struct AgsAddSoundcardClass {
  AgsTaskClass task;
};

Property Details

The “application-context” property

  “application-context”      AgsApplicationContext *

The assigned AgsApplicationContext

Flags: Read / Write

Since: 2.0.0


The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard

Flags: Read / Write

Since: 2.0.0