AgsSetBufferSize

AgsSetBufferSize — adjust buffer size

Functions

Properties

guint buffer-size Read / Write
GObject * scope Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsSetBufferSize

Includes

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

Description

The AgsSetBufferSize task adjusts buffer size of scope.

Functions

ags_set_buffer_size_new ()

AgsSetBufferSize *
ags_set_buffer_size_new (GObject *scope,
                         guint buffer_size);

Create a new instance of AgsSetBufferSize.

Parameters

scope

the GObject to reset

 

buffer_size

the new buffer size

 

Returns

the new AgsSetBufferSize

Since: 3.0.0


AGS_IS_SET_BUFFER_SIZE()

#define AGS_IS_SET_BUFFER_SIZE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_BUFFER_SIZE))

AGS_IS_SET_BUFFER_SIZE_CLASS()

#define AGS_IS_SET_BUFFER_SIZE_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_BUFFER_SIZE))

AGS_SET_BUFFER_SIZE()

#define AGS_SET_BUFFER_SIZE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_BUFFER_SIZE, AgsSetBufferSize))

AGS_SET_BUFFER_SIZE_CLASS()

#define AGS_SET_BUFFER_SIZE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_BUFFER_SIZE, AgsSetBufferSizeClass))

AGS_SET_BUFFER_SIZE_GET_CLASS()

#define AGS_SET_BUFFER_SIZE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_BUFFER_SIZE, AgsSetBufferSizeClass))

ags_set_buffer_size_get_type ()

GType
ags_set_buffer_size_get_type ();

Types and Values

AGS_TYPE_SET_BUFFER_SIZE

#define AGS_TYPE_SET_BUFFER_SIZE                (ags_set_buffer_size_get_type())

struct AgsSetBufferSize

struct AgsSetBufferSize;

struct AgsSetBufferSizeClass

struct AgsSetBufferSizeClass {
  AgsTaskClass task;
};

Property Details

The “buffer-size” property

  “buffer-size”              guint

The buffer size to apply to scope.

Owner: AgsSetBufferSize

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “scope” property

  “scope”                    GObject *

The assigned GObject as scope.

Owner: AgsSetBufferSize

Flags: Read / Write

Since: 3.0.0