AgsSetOutputDevice

AgsSetOutputDevice — resets soundcard

Synopsis

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

struct              AgsSetOutputDevice;
struct              AgsSetOutputDeviceClass;
AgsSetOutputDevice * ags_set_output_device_new          (GObject *devout,
                                                         char *card_id);

Description

The AgsSetOutputDevice task resets soundcard of AgsDevout.

Details

struct AgsSetOutputDevice

struct AgsSetOutputDevice {
  AgsTask task;

  GObject *devout;
  char *card_id;
};

struct AgsSetOutputDeviceClass

struct AgsSetOutputDeviceClass {
  AgsTaskClass task;
};

ags_set_output_device_new ()

AgsSetOutputDevice * ags_set_output_device_new          (GObject *devout,
                                                         char *card_id);

Creates an AgsSetOutputDevice.

devout :

the AgsDevout to reset

card_id :

the new soundcard

Returns :

an new AgsSetOutputDevice.

Since 0.4