krähemann.com

AgsResetPeak

AgsResetPeak — reset peak internal

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsResetPeak

Includes

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

Description

The AgsResetPeak task resets peak to recompute the peak during next run.

Functions

ags_reset_peak_add ()

void
ags_reset_peak_add (AgsResetPeak *reset_peak,
                    AgsPeakChannel *peak_channel);

Add peak_channel .

Parameters

reset_peak

the AgsResetPeak

 

peak_channel

the AgsPeakChannel

 

Since: 3.0.0


ags_reset_peak_remove ()

void
ags_reset_peak_remove (AgsResetPeak *reset_peak,
                       AgsPeakChannel *peak_channel);

Remove peak_channel .

Parameters

reset_peak

the AgsResetPeak

 

peak_channel

the AgsPeakChannel

 

Since: 3.0.0


ags_reset_peak_get_instance ()

AgsResetPeak *
ags_reset_peak_get_instance ();

Get instance.

Returns

the AgsResetPeak.

[transfer none]

Since: 3.0.0


ags_reset_peak_new ()

AgsResetPeak *
ags_reset_peak_new ();

Creates an AgsResetPeak.

Returns

an new AgsResetPeak.

Since: 3.0.0


AGS_IS_RESET_PEAK()

#define AGS_IS_RESET_PEAK(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RESET_PEAK))

AGS_RESET_PEAK()

#define AGS_RESET_PEAK(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RESET_PEAK, AgsResetPeak))

AGS_RESET_PEAK_CLASS()

#define AGS_RESET_PEAK_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RESET_PEAK, AgsResetPeakClass))

AGS_RESET_PEAK_GET_CLASS()

#define AGS_RESET_PEAK_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RESET_PEAK, AgsResetPeakClass))

ags_reset_peak_get_type ()

GType
ags_reset_peak_get_type ();

Types and Values

AGS_TYPE_RESET_PEAK

#define AGS_TYPE_RESET_PEAK                (ags_reset_peak_get_type())

struct AgsResetPeak

struct AgsResetPeak;

struct AgsResetPeakClass

struct AgsResetPeakClass {
  AgsTaskClass task;
};