AgsSetFormat

AgsSetFormat — resets format

Functions

Properties

guint format Read / Write
GObject * scope Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsSetFormat

Implemented Interfaces

AgsSetFormat implements AgsConnectable.

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

Creates an AgsSetFormat.

Parameters

scope

the GObject to reset

 

format

the new format

 

Returns

an new AgsSetFormat.

Since: 1.0.0


AGS_IS_SET_FORMAT()

#define AGS_IS_SET_FORMAT(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), 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.

Flags: Read / Write

Default value: 0

Since: 1.0.0


The “scope” property

  “scope”                    GObject *

The assigned GObject as scope.

Flags: Read / Write

Since: 1.0.0