krähemann.com

AgsSetSamplerate

AgsSetSamplerate — modify samplerate

Properties

guint samplerate Read / Write
GObject * scope Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsSetSamplerate

Includes

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

Description

The AgsSetSamplerate task modifies samplerate of scope.

Functions

ags_set_samplerate_new ()

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

Create a new instance of AgsSetSamplerate.

Parameters

scope

the AgsSoundcard to reset

 

samplerate

the new samplerate

 

Returns

the new AgsSetSamplerate

Since: 3.0.0


AGS_IS_SET_SAMPLERATE()

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

AGS_IS_SET_SAMPLERATE_CLASS()

#define AGS_IS_SET_SAMPLERATE_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), 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.

Owner: AgsSetSamplerate

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “scope” property

  “scope”                    GObject *

The assigned GObject as scope.

Owner: AgsSetSamplerate

Flags: Read / Write

Since: 3.0.0