AgsSetSamplerate

AgsSetSamplerate — modifies samplerate

Functions

Properties

guint samplerate Read / Write
GObject * scope Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsSetSamplerate

Implemented Interfaces

AgsSetSamplerate implements AgsConnectable.

Includes

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

Description

The AgsSetSamplerate task modifies samplerate of AgsSoundcard.

Functions

ags_set_samplerate_new ()

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

Creates an AgsSetSamplerate.

Parameters

scope

the AgsSoundcard to reset

 

samplerate

the new samplerate

 

Returns

an new AgsSetSamplerate.

Since: 1.0.0


AGS_IS_SET_SAMPLERATE()

#define AGS_IS_SET_SAMPLERATE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_SAMPLERATE))

AGS_SET_SAMPLERATE()

#define AGS_SET_SAMPLERATE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_SAMPLERATE, AgsSetSamplerate))

AGS_SET_SAMPLERATE_CLASS()

#define AGS_SET_SAMPLERATE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_SAMPLERATE, AgsSetSamplerateClass))

AGS_SET_SAMPLERATE_GET_CLASS()

#define AGS_SET_SAMPLERATE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_SAMPLERATE, AgsSetSamplerateClass))

ags_set_samplerate_get_type ()

GType
ags_set_samplerate_get_type ();

Types and Values

AGS_TYPE_SET_SAMPLERATE

#define AGS_TYPE_SET_SAMPLERATE                (ags_set_samplerate_get_type())

struct AgsSetSamplerate

struct AgsSetSamplerate;

struct AgsSetSamplerateClass

struct AgsSetSamplerateClass {
  AgsTaskClass task;
};

Property Details

The “samplerate” property

  “samplerate”               guint

The samplerate to apply to scope.

Flags: Read / Write

Default value: 0

Since: 1.0.0


The “scope” property

  “scope”                    GObject *

The assigned GObject as scope.

Flags: Read / Write

Since: 1.0.0