AgsSetSamplerate

AgsSetSamplerate — modifies samplerate

Synopsis

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

struct              AgsSetSamplerate;
struct              AgsSetSamplerateClass;
AgsSetSamplerate *  ags_set_samplerate_new              (GObject *gobject,
                                                         guint samplerate);

Description

The AgsSetSamplerate task modifies samplerate of AgsDevout.

Details

struct AgsSetSamplerate

struct AgsSetSamplerate {
  AgsTask task;

  GObject *gobject;
  guint samplerate;
};

struct AgsSetSamplerateClass

struct AgsSetSamplerateClass {
  AgsTaskClass task;
};

ags_set_samplerate_new ()

AgsSetSamplerate *  ags_set_samplerate_new              (GObject *gobject,
                                                         guint samplerate);

Creates an AgsSetSamplerate.

devout :

the AgsDevout to reset

samplerate :

the new samplerate

Returns :

an new AgsSetSamplerate.

Since 0.4