AgsAcceleration

AgsAcceleration — Acceleration class.

Functions

Properties

gchar * acceleration-name Read / Write
guint x Read / Write
guint y Read / Write

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: 1.0.0


ags_acceleration_new ()

AgsAcceleration *
ags_acceleration_new ();

Creates an AgsAcceleration

Returns

a new AgsAcceleration

Since: 1.0.0


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_acceleration_get_type ()

GType
ags_acceleration_get_type ();

Types and Values

enum AgsAccelerationFlags

Members

AGS_ACCELERATION_CONNECTED

if this object is already connected

 

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;
};

Property Details

The “acceleration-name” property

  “acceleration-name”        gchar *

The acceleration's name.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “x” property

  “x”                        guint

Acceleration offset x.

Flags: Read / Write

Allowed values: <= 65535

Default value: 0

Since: 1.0.0


The “y” property

  “y”                        guint

Acceleration offset y.

Flags: Read / Write

Allowed values: <= 65535

Default value: 0

Since: 1.0.0