krähemann.com

AgsSetFormat

AgsSetFormat — reset format

Stability Level

Stable, unless otherwise indicated

Properties

guint format Read / Write
GObject * scope Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsSetFormat

Includes

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

Description

The AgsSetFormat task resets format of scope.

Functions

ags_set_format_new ()

AgsSetFormat *
ags_set_format_new (GObject *scope,
                    guint format);

Create a new instance of AgsSetFormat.

Parameters

scope

the GObject to reset

 

format

the new format

 

Returns

the new AgsSetFormat

Since: 3.0.0


AGS_IS_SET_FORMAT()

#define AGS_IS_SET_FORMAT(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_FORMAT))

AGS_IS_SET_FORMAT_CLASS()

#define AGS_IS_SET_FORMAT_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_FORMAT))

AGS_SET_FORMAT()

#define AGS_SET_FORMAT(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_FORMAT, AgsSetFormat))

AGS_SET_FORMAT_CLASS()

#define AGS_SET_FORMAT_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_FORMAT, AgsSetFormatClass))

AGS_SET_FORMAT_GET_CLASS()

#define AGS_SET_FORMAT_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_FORMAT, AgsSetFormatClass))

ags_set_format_get_type ()

GType
ags_set_format_get_type ();

Types and Values

AGS_TYPE_SET_FORMAT

#define AGS_TYPE_SET_FORMAT                (ags_set_format_get_type())

struct AgsSetFormat

struct AgsSetFormat;

struct AgsSetFormatClass

struct AgsSetFormatClass {
  AgsTaskClass task;
};

Property Details

The “format” property

  “format”                   guint

The format to apply to scope.

Owner: AgsSetFormat

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “scope” property

  “scope”                    GObject *

The assigned GObject as scope.

Owner: AgsSetFormat

Flags: Read / Write

Since: 3.0.0