AgsInput

AgsInput — Input of AgsAudio

Functions

Properties

AgsFileLink * file-link Read / Write

Object Hierarchy

    GObject
    ╰── AgsChannel
        ╰── AgsInput

Implemented Interfaces

AgsInput implements AgsConnectable.

Includes

#include <ags/audio/ags_input.h>

Description

AgsInput represents an input channel of AgsAudio.

Functions

ags_input_open_file ()

gboolean
ags_input_open_file (AgsInput *input,
                     gchar *filename,
                     gchar *preset,
                     gchar *instrument,
                     gchar *sample,
                     guint audio_channel);


ags_input_apply_synth ()

gboolean
ags_input_apply_synth (AgsInput *input,
                       guint oscillator,
                       gdouble frequency,
                       gdouble phase,
                       gdouble volume,
                       guint n_frames);


ags_input_new ()

AgsInput *
ags_input_new (GObject *audio);

Creates a AgsInput, linking tree to audio .

Parameters

audio

the AgsAudio

 

Returns

a new AgsInput

Since: 0.3

Types and Values

Property Details

The “file-link” property

  “file-link”                AgsFileLink *

The file link to read from.

Flags: Read / Write

Since: 0.4.0