AgsAcceleration

AgsAcceleration — Acceleration class.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsAcceleration

Implemented Interfaces

AgsAcceleration implements AgsConnectable.

Includes

#include <ags/audio/ags_acceleration.h>

Description

AgsAcceleration represents a downhill-grade.

Functions

ags_acceleration_duplicate ()

AgsAcceleration *
ags_acceleration_duplicate (AgsAcceleration *acceleration);

Duplicate a acceleration.

Parameters

acceleration

an AgsAcceleration

 

Returns

the duplicated AgsAcceleration.

Since: 0.4.3


ags_acceleration_new ()

AgsAcceleration *
ags_acceleration_new ();

Creates an AgsAcceleration

Returns

a new AgsAcceleration

Since: 0.4.3


AGS_ACCELERATION()

#define AGS_ACCELERATION(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ACCELERATION, AgsAcceleration))


AGS_ACCELERATION_CLASS()

#define AGS_ACCELERATION_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ACCELERATION, AgsAccelerationClass))


AGS_ACCELERATION_GET_CLASS()

#define AGS_ACCELERATION_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ACCELERATION, AgsAccelerationClass))


AGS_IS_ACCELERATION()

#define AGS_IS_ACCELERATION(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ACCELERATION))


AGS_IS_ACCELERATION_CLASS()

#define AGS_IS_ACCELERATION_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ACCELERATION))


ags_acceleration_get_type ()

GType
ags_acceleration_get_type ();

Types and Values

enum AgsAccelerationFlags

Members

AGS_ACCELERATION_DEFAULT_START

if start is default start point

 

AGS_ACCELERATION_DEFAULT_END

if end is default end point

 

AGS_ACCELERATION_GUI

interpret x and y as GUI format

 

AGS_ACCELERATION_RUNTIME

interpret x and y as runtime formant

 

AGS_ACCELERATION_HUMAN_READABLE

interpret x and y as human readable

 

AGS_ACCELERATION_DEFAULT_LENGTH

if default length applies

 

AGS_ACCELERATION_IS_SELECTED

if the acceleration is selected

 

AGS_TYPE_ACCELERATION

#define AGS_TYPE_ACCELERATION                (ags_acceleration_get_type())


struct AgsAcceleration

struct AgsAcceleration;


struct AgsAccelerationClass

struct AgsAccelerationClass {
  GObjectClass gobject;
};