AgsPeakAudioSignal

AgsPeakAudioSignal — peaks audio signal

Functions

Properties

gdouble peak Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsRecall
        ╰── AgsRecallAudioSignal
            ╰── AgsPeakAudioSignal

Implemented Interfaces

AgsPeakAudioSignal implements AgsConnectable, AgsPackable, AgsDynamicConnectable and AgsPlugin.

Includes

#include <ags/audio/recall/ags_peak_audio_signal.h>

Description

The AgsPeakAudioSignal class peaks the audio signal.

Functions

ags_peak_audio_signal_new ()

AgsPeakAudioSignal *
ags_peak_audio_signal_new (AgsAudioSignal *audio_signal);

Creates an AgsPeakAudioSignal

Parameters

audio_signal

an AgsAudioSignal

 

Returns

a new AgsPeakAudioSignal

Since: 1.0.0


AGS_IS_PEAK_AUDIO_SIGNAL()

#define AGS_IS_PEAK_AUDIO_SIGNAL(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PEAK_AUDIO_SIGNAL))

AGS_PEAK_AUDIO_SIGNAL()

#define AGS_PEAK_AUDIO_SIGNAL(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PEAK_AUDIO_SIGNAL, AgsPeakAudioSignal))

AGS_PEAK_AUDIO_SIGNAL_CLASS()

#define AGS_PEAK_AUDIO_SIGNAL_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PEAK_AUDIO_SIGNAL, AgsPeakAudioSignalClass))

AGS_PEAK_AUDIO_SIGNAL_GET_CLASS()

#define AGS_PEAK_AUDIO_SIGNAL_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PEAK_AUDIO_SIGNAL, AgsPeakAudioSignalClass))

ags_peak_audio_signal_get_type ()

GType
ags_peak_audio_signal_get_type ();

Types and Values

AGS_TYPE_PEAK_AUDIO_SIGNAL

#define AGS_TYPE_PEAK_AUDIO_SIGNAL                (ags_peak_audio_signal_get_type())

struct AgsPeakAudioSignal

struct AgsPeakAudioSignal;

struct AgsPeakAudioSignalClass

struct AgsPeakAudioSignalClass {
  AgsRecallAudioSignalClass recall_audio_signal;
};

Property Details

The “peak” property

  “peak”                     gdouble

The peak.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0

Since: 1.0.0