AgsApplyPresets

AgsApplyPresets — apply presets

Functions

Properties

guint buffer-size Read / Write
guint format Read / Write
guint pcm-channels Read / Write
guint samplerate Read / Write
GObject * scope Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsApplyPresets

Includes

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

Description

The AgsApplyPresets task apply the specified presets.

Functions

ags_apply_presets_soundcard ()

void
ags_apply_presets_soundcard (AgsApplyPresets *apply_presets,
                             GObject *soundcard);

ags_apply_presets_new ()

AgsApplyPresets *
ags_apply_presets_new (GObject *scope,
                       guint pcm_channels,
                       guint samplerate,
                       guint buffer_size,
                       guint format);

Creates a new instance of AgsApplyPresets.

Parameters

scope

a GObject

 

pcm_channels

pcm channels

 

samplerate

samplerate

 

buffer_size

buffer size

 

format

format

 

Returns

the new AgsApplyPresets.

Since: 3.0.0


AGS_APPLY_PRESETS()

#define AGS_APPLY_PRESETS(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_PRESETS, AgsApplyPresets))

AGS_APPLY_PRESETS_CLASS()

#define AGS_APPLY_PRESETS_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_PRESETS, AgsApplyPresetsClass))

AGS_APPLY_PRESETS_GET_CLASS()

#define AGS_APPLY_PRESETS_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_PRESETS, AgsApplyPresetsClass))

AGS_IS_APPLY_PRESETS()

#define AGS_IS_APPLY_PRESETS(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_PRESETS))

AGS_IS_APPLY_PRESETS_CLASS()

#define AGS_IS_APPLY_PRESETS_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_PRESETS))

ags_apply_presets_get_type ()

GType
ags_apply_presets_get_type ();

Types and Values

AGS_TYPE_APPLY_PRESETS

#define AGS_TYPE_APPLY_PRESETS                (ags_apply_presets_get_type())

struct AgsApplyPresets

struct AgsApplyPresets;

struct AgsApplyPresetsClass

struct AgsApplyPresetsClass {
  AgsTaskClass task;
};

Property Details

The “buffer-size” property

  “buffer-size”              guint

The count of buffer-size to apply.

Owner: AgsApplyPresets

Flags: Read / Write

Allowed values: <= 65535

Default value: 0

Since: 3.0.0


The “format” property

  “format”                   guint

The count of format to apply.

Owner: AgsApplyPresets

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “pcm-channels” property

  “pcm-channels”             guint

The count of pcm-channels to apply.

Owner: AgsApplyPresets

Flags: Read / Write

Allowed values: <= 65535

Default value: 0

Since: 3.0.0


The “samplerate” property

  “samplerate”               guint

The count of samplerate to apply.

Owner: AgsApplyPresets

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “scope” property

  “scope”                    GObject *

The assigned GObject

Owner: AgsApplyPresets

Flags: Read / Write

Since: 3.0.0