AgsSetDevice

AgsSetDevice — set device

Functions

Properties

gchar * device Read / Write
GObject * scope Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsSetDevice

Includes

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

Description

The AgsSetDevice task sets device of AgsSoundcard or AgsSequencer.

Functions

ags_set_device_new ()

AgsSetDevice *
ags_set_device_new (GObject *scope,
                    gchar *device);

Create a new instance of AgsSetDevice.

Parameters

scope

the AgsSoundcard or AgsSequencer to reset

 

device

the device as string

 

Returns

the new AgsSetDevice.

Since: 3.0.0


AGS_IS_SET_DEVICE()

#define AGS_IS_SET_DEVICE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_DEVICE))

AGS_SET_DEVICE()

#define AGS_SET_DEVICE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_DEVICE, AgsSetDevice))

AGS_SET_DEVICE_CLASS()

#define AGS_SET_DEVICE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_DEVICE, AgsSetDeviceClass))

AGS_SET_DEVICE_GET_CLASS()

#define AGS_SET_DEVICE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_DEVICE, AgsSetDeviceClass))

ags_set_device_get_type ()

GType
ags_set_device_get_type ();

Types and Values

AGS_TYPE_SET_DEVICE

#define AGS_TYPE_SET_DEVICE                (ags_set_device_get_type())

struct AgsSetDevice

struct AgsSetDevice;

struct AgsSetDeviceClass

struct AgsSetDeviceClass {
  AgsTaskClass task;
};

Property Details

The “device” property

  “device”                   gchar *

The device to set.

Owner: AgsSetDevice

Flags: Read / Write

Default value: NULL

Since: 3.0.0


The “scope” property

  “scope”                    GObject *

The assigned AgsSoundcard or AgsSequencer instance.

Owner: AgsSetDevice

Flags: Read / Write

Since: 3.0.0