AgsSetInputDevice

AgsSetInputDevice — resets sequencer

Functions

Properties

gchar * device Read / Write
GObject * sequencer Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsSetInputDevice

Implemented Interfaces

AgsSetInputDevice implements AgsConnectable.

Includes

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

Description

The AgsSetInputDevice task resets sequencer of AgsSequencer.

Functions

ags_set_input_device_new ()

AgsSetInputDevice *
ags_set_input_device_new (GObject *sequencer,
                          char *device);

Creates an AgsSetInputDevice.

Parameters

sequencer

the AgsSequencer to reset

 

device

the new sequencer

 

Returns

an new AgsSetInputDevice.

Since: 0.7.111


AGS_IS_SET_INPUT_DEVICE()

#define AGS_IS_SET_INPUT_DEVICE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_INPUT_DEVICE))


AGS_IS_SET_INPUT_DEVICE_CLASS()

#define AGS_IS_SET_INPUT_DEVICE_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_INPUT_DEVICE))


AGS_SET_INPUT_DEVICE()

#define AGS_SET_INPUT_DEVICE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_INPUT_DEVICE, AgsSetInputDevice))


AGS_SET_INPUT_DEVICE_CLASS()

#define AGS_SET_INPUT_DEVICE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_INPUT_DEVICE, AgsSetInputDeviceClass))


AGS_SET_INPUT_DEVICE_GET_CLASS()

#define AGS_SET_INPUT_DEVICE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_INPUT_DEVICE, AgsSetInputDeviceClass))


ags_set_input_device_get_type ()

GType
ags_set_input_device_get_type ();

Types and Values

AGS_TYPE_SET_INPUT_DEVICE

#define AGS_TYPE_SET_INPUT_DEVICE                (ags_set_input_device_get_type())


struct AgsSetInputDevice

struct AgsSetInputDevice;


struct AgsSetInputDeviceClass

struct AgsSetInputDeviceClass {
  AgsTaskClass task;
};

Property Details

The “device” property

  “device”                   gchar *

The sequencer indentifier

Flags: Read / Write

Default value: NULL

Since: 0.7.111


The “sequencer” property

  “sequencer”                GObject *

The assigned AgsSequencer instance.

Flags: Read / Write

Since: 0.7.111