AgsSetBufferSize

AgsSetBufferSize — resizes buffer size

Functions

Properties

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

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsSetBufferSize

Implemented Interfaces

AgsSetBufferSize implements AgsConnectable.

Includes

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

Description

The AgsSetBufferSize task resizes buffer size of scope.

Functions

ags_set_buffer_size_new ()

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

Creates an AgsSetBufferSize.

Parameters

scope

the GObject to reset

 

buffer_size

the new buffer size

 

Returns

an new AgsSetBufferSize.

Since: 1.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_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.

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