AgsChangeSoundcard

AgsChangeSoundcard — change soundcard

Functions

Properties

AgsApplicationContext * application-context Read / Write
GObject * new-soundcard Read / Write
GObject * old-soundcard Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsChangeSoundcard

Implemented Interfaces

AgsChangeSoundcard implements AgsConnectable.

Includes

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

Description

The AgsChangeSoundcard task change the specified soundcard.

Functions

ags_change_soundcard_new ()

AgsChangeSoundcard *
ags_change_soundcard_new (AgsApplicationContext *application_context,
                          GObject *new_soundcard,
                          GObject *old_soundcard);

Creates an AgsChangeSoundcard.

Parameters

application_context

the AgsApplicationContext

 

new_soundcard

the AgsSoundcard to set

 

old_soundcard

the AgsSoundcard to unset

 

Returns

an new AgsChangeSoundcard.

Since: 1.0.0


AGS_CHANGE_SOUNDCARD()

#define AGS_CHANGE_SOUNDCARD(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CHANGE_SOUNDCARD, AgsChangeSoundcard))

AGS_CHANGE_SOUNDCARD_CLASS()

#define AGS_CHANGE_SOUNDCARD_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CHANGE_SOUNDCARD, AgsChangeSoundcardClass))

AGS_CHANGE_SOUNDCARD_GET_CLASS()

#define AGS_CHANGE_SOUNDCARD_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CHANGE_SOUNDCARD, AgsChangeSoundcardClass))

AGS_IS_CHANGE_SOUNDCARD()

#define AGS_IS_CHANGE_SOUNDCARD(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CHANGE_SOUNDCARD))

ags_change_soundcard_get_type ()

GType
ags_change_soundcard_get_type ();

Types and Values

AGS_TYPE_CHANGE_SOUNDCARD

#define AGS_TYPE_CHANGE_SOUNDCARD                (ags_change_soundcard_get_type())

struct AgsChangeSoundcard

struct AgsChangeSoundcard;

struct AgsChangeSoundcardClass

struct AgsChangeSoundcardClass {
  AgsTaskClass task;
};

Property Details

The “application-context” property

  “application-context”      AgsApplicationContext *

The assigned AgsApplicationContext

Flags: Read / Write

Since: 1.0.0


The “new-soundcard” property

  “new-soundcard”            GObject *

The assigned AgsSoundcard

Flags: Read / Write

Since: 1.0.0


The “old-soundcard” property

  “old-soundcard”            GObject *

The assigned AgsSoundcard

Flags: Read / Write

Since: 1.0.0