krähemann.com

AgsResetPeak

AgsResetPeak — reset peak internal

Stability Level

Stable, unless otherwise indicated

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