AgsAddSoundcard

AgsAddSoundcard — add soundcard object to context

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsAddSoundcard

Implemented Interfaces

AgsAddSoundcard implements AgsConnectable.

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);

Creates an AgsAddSoundcard.

Parameters

application_context

the AgsApplicationContext

 

soundcard

the AgsSoundcard to add

 

Returns

an new AgsAddSoundcard.

Since: 1.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: 1.0.0


The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard

Flags: Read / Write

Since: 1.0.0