AgsSetOutputDevice

AgsSetOutputDevice — resets soundcard

Functions

Properties

gchar * device Read / Write
GObject * soundcard Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsSetOutputDevice

Implemented Interfaces

AgsSetOutputDevice implements AgsConnectable.

Includes

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

Description

The AgsSetOutputDevice task resets soundcard of AgsSoundcard.

Functions

ags_set_output_device_new ()

AgsSetOutputDevice *
ags_set_output_device_new (GObject *soundcard,
                           char *device);

Creates an AgsSetOutputDevice.

Parameters

soundcard

the AgsSoundcard to reset

 

device

the new soundcard

 

Returns

an new AgsSetOutputDevice.

Since: 1.0.0


AGS_IS_SET_OUTPUT_DEVICE()

#define AGS_IS_SET_OUTPUT_DEVICE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_OUTPUT_DEVICE))

AGS_SET_OUTPUT_DEVICE()

#define AGS_SET_OUTPUT_DEVICE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_OUTPUT_DEVICE, AgsSetOutputDevice))

AGS_SET_OUTPUT_DEVICE_CLASS()

#define AGS_SET_OUTPUT_DEVICE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_OUTPUT_DEVICE, AgsSetOutputDeviceClass))

AGS_SET_OUTPUT_DEVICE_GET_CLASS()

#define AGS_SET_OUTPUT_DEVICE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_OUTPUT_DEVICE, AgsSetOutputDeviceClass))

ags_set_output_device_get_type ()

GType
ags_set_output_device_get_type ();

Types and Values

AGS_TYPE_SET_OUTPUT_DEVICE

#define AGS_TYPE_SET_OUTPUT_DEVICE                (ags_set_output_device_get_type())

struct AgsSetOutputDevice

struct AgsSetOutputDevice;

struct AgsSetOutputDeviceClass

struct AgsSetOutputDeviceClass {
  AgsTaskClass task;
};

Property Details

The “device” property

  “device”                   gchar *

The soundcard indentifier

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard instance.

Flags: Read / Write

Since: 1.0.0