AgsSwitchBufferFlag

AgsSwitchBufferFlag — switch buffer flag of device

Functions

Properties

GObject * device Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsSwitchBufferFlag

Implemented Interfaces

AgsSwitchBufferFlag implements AgsConnectable.

Includes

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

Description

The AgsSwitchBufferFlag task switches the buffer flag of device.

Functions

ags_switch_buffer_flag_new ()

AgsSwitchBufferFlag *
ags_switch_buffer_flag_new (GObject *device);

Creates an AgsSwitchBufferFlag.

Parameters

device

the AgsSoundcard or AgsSequencer

 

Returns

an new AgsSwitchBufferFlag.

Since: 1.0.0


AGS_IS_SWITCH_BUFFER_FLAG()

#define AGS_IS_SWITCH_BUFFER_FLAG(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SWITCH_BUFFER_FLAG))

AGS_SWITCH_BUFFER_FLAG()

#define AGS_SWITCH_BUFFER_FLAG(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SWITCH_BUFFER_FLAG, AgsSwitchBufferFlag))

AGS_SWITCH_BUFFER_FLAG_CLASS()

#define AGS_SWITCH_BUFFER_FLAG_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SWITCH_BUFFER_FLAG, AgsSwitchBufferFlagClass))

AGS_SWITCH_BUFFER_FLAG_GET_CLASS()

#define AGS_SWITCH_BUFFER_FLAG_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SWITCH_BUFFER_FLAG, AgsSwitchBufferFlagClass))

ags_switch_buffer_flag_get_type ()

GType
ags_switch_buffer_flag_get_type ();

Types and Values

AGS_TYPE_SWITCH_BUFFER_FLAG

#define AGS_TYPE_SWITCH_BUFFER_FLAG                (ags_switch_buffer_flag_get_type())

struct AgsSwitchBufferFlag

struct AgsSwitchBufferFlag;

struct AgsSwitchBufferFlagClass

struct AgsSwitchBufferFlagClass {
  AgsTaskClass task;
};

Property Details

The “device” property

  “device”                   GObject *

The assigned AgsSoundcard or AgsSequencer

Flags: Read / Write

Since: 1.0.0