AgsApplySoundConfig

AgsApplySoundConfig — apply sound config

Functions

Properties

GObject * application-context Read / Write
gchar * config-data Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsApplySoundConfig

Includes

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

Description

The AgsApplySoundConfig task apply the specified sound config.

Functions

ags_apply_sound_config_new ()

AgsApplySoundConfig *
ags_apply_sound_config_new (AgsApplicationContext *application_context,
                            gchar *config_data);

Creates a new instance of AgsApplySoundConfig.

Parameters

application_context

the AgsApplicationContext

 

config_data

the config file as string data

 

Returns

the new AgsApplySoundConfig.

Since: 2.1.0


AGS_APPLY_SOUND_CONFIG()

#define AGS_APPLY_SOUND_CONFIG(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_SOUND_CONFIG, AgsApplySoundConfig))

AGS_APPLY_SOUND_CONFIG_CLASS()

#define AGS_APPLY_SOUND_CONFIG_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_SOUND_CONFIG, AgsApplySoundConfigClass))

AGS_APPLY_SOUND_CONFIG_GET_CLASS()

#define AGS_APPLY_SOUND_CONFIG_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_SOUND_CONFIG, AgsApplySoundConfigClass))

AGS_IS_APPLY_SOUND_CONFIG()

#define AGS_IS_APPLY_SOUND_CONFIG(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_SOUND_CONFIG))

ags_apply_sound_config_get_type ()

GType
ags_apply_sound_config_get_type ();

Types and Values

AGS_TYPE_APPLY_SOUND_CONFIG

#define AGS_TYPE_APPLY_SOUND_CONFIG                (ags_apply_sound_config_get_type())

struct AgsApplySoundConfig

struct AgsApplySoundConfig;

struct AgsApplySoundConfigClass

struct AgsApplySoundConfigClass {
  AgsTaskClass task;
};

Property Details

The “application-context” property

  “application-context”      GObject *

The application context of start soundcard task.

Flags: Read / Write


The “config-data” property

  “config-data”              gchar *

The assigned sound config data as string.

Flags: Read / Write

Default value: NULL

Since: 2.1.0