AgsClearBuffer

AgsClearBuffer — switch buffer flag of device

Functions

Properties

GObject * device Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsClearBuffer

Implemented Interfaces

AgsClearBuffer implements AgsConnectable.

Includes

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

Description

The AgsClearBuffer task switches the buffer flag of device.

Functions

ags_clear_buffer_new ()

AgsClearBuffer *
ags_clear_buffer_new (GObject *device);

Creates an AgsClearBuffer.

Parameters

device

the AgsSoundcard or AgsSequencer

 

Returns

an new AgsClearBuffer.

Since: 1.0.0


AGS_CLEAR_BUFFER()

#define AGS_CLEAR_BUFFER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CLEAR_BUFFER, AgsClearBuffer))

AGS_CLEAR_BUFFER_CLASS()

#define AGS_CLEAR_BUFFER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CLEAR_BUFFER, AgsClearBufferClass))

AGS_CLEAR_BUFFER_GET_CLASS()

#define AGS_CLEAR_BUFFER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CLEAR_BUFFER, AgsClearBufferClass))

AGS_IS_CLEAR_BUFFER()

#define AGS_IS_CLEAR_BUFFER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CLEAR_BUFFER))

ags_clear_buffer_get_type ()

GType
ags_clear_buffer_get_type ();

Types and Values

AGS_TYPE_CLEAR_BUFFER

#define AGS_TYPE_CLEAR_BUFFER                (ags_clear_buffer_get_type())

struct AgsClearBuffer

struct AgsClearBuffer;

struct AgsClearBufferClass

struct AgsClearBufferClass {
  AgsTaskClass task;
};

Property Details

The “device” property

  “device”                   GObject *

The assigned AgsSoundcard or AgsSequencer

Flags: Read / Write

Since: 1.0.0