AgsResizeAudio

AgsResizeAudio — resize audio task

Functions

Properties

AgsAudio * audio Read / Write
guint audio-channels Read / Write
guint input-pads Read / Write
guint output-pads Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsResizeAudio

Implemented Interfaces

AgsResizeAudio implements AgsConnectable.

Includes

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

Description

The AgsResizeAudio task resizes AgsAudio.

Functions

ags_resize_audio_new ()

AgsResizeAudio *
ags_resize_audio_new (AgsAudio *audio,
                      guint output_pads,
                      guint input_pads,
                      guint audio_channels);

Creates an AgsResizeAudio.

Parameters

audio

the AgsAudio to resize

 

output_pads

output pads

 

input_pads

input pads

 

audio_channels

audio channels

 

Returns

an new AgsResizeAudio.

Since: 1.0.0


AGS_IS_RESIZE_AUDIO()

#define AGS_IS_RESIZE_AUDIO(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RESIZE_AUDIO))

AGS_RESIZE_AUDIO()

#define AGS_RESIZE_AUDIO(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RESIZE_AUDIO, AgsResizeAudio))

AGS_RESIZE_AUDIO_CLASS()

#define AGS_RESIZE_AUDIO_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RESIZE_AUDIO, AgsResizeAudioClass))

AGS_RESIZE_AUDIO_GET_CLASS()

#define AGS_RESIZE_AUDIO_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RESIZE_AUDIO, AgsResizeAudioClass))

ags_resize_audio_get_type ()

GType
ags_resize_audio_get_type ();

Types and Values

AGS_TYPE_RESIZE_AUDIO

#define AGS_TYPE_RESIZE_AUDIO                (ags_resize_audio_get_type())

struct AgsResizeAudio

struct AgsResizeAudio;

struct AgsResizeAudioClass

struct AgsResizeAudioClass {
  AgsTaskClass task;
};

Property Details

The “audio” property

  “audio”                    AgsAudio *

The assigned AgsAudio

Flags: Read / Write

Since: 1.0.0


The “audio-channels” property

  “audio-channels”           guint

The count of audio channels to apply to audio.

Flags: Read / Write

Default value: 0

Since: 1.0.0


The “input-pads” property

  “input-pads”               guint

The count of input pads to apply to audio.

Flags: Read / Write

Default value: 0

Since: 1.0.0


The “output-pads” property

  “output-pads”              guint

The count of output pads to apply to audio.

Flags: Read / Write

Default value: 0

Since: 1.0.0