Top | ![]() |
![]() |
![]() |
![]() |
AgsInputAgsInput — Input of AgsAudio |
gboolean | ags_input_is_active () |
AgsInput * | ags_input_next_active () |
void | ags_input_add_synth_generator () |
void | ags_input_remove_synth_generator () |
gboolean | ags_input_open_file () |
AgsInput * | ags_input_new () |
#define | AGS_INPUT() |
#define | AGS_INPUT_CLASS() |
#define | AGS_INPUT_GET_CLASS() |
#define | AGS_IS_INPUT() |
#define | AGS_IS_INPUT_CLASS() |
GType | ags_input_get_type () |
#define | AGS_INPUT_SYNTH_BASE_NOTE |
#define | AGS_TYPE_INPUT |
struct | AgsInput |
struct | AgsInputClass |
gboolean ags_input_is_active (AgsInput *input
,GObject *recycling_context
);
Check if input
is active and needs processing.
Since: 3.0.0
AgsInput * ags_input_next_active (AgsInput *input
,GObject *recycling_context
);
Find next AgsInput needed to be processed.
Since: 3.0.0
void ags_input_add_synth_generator (AgsInput *input
,GObject *synth_generator
);
Add synth_generator
to input
.
Since: 3.0.0
void ags_input_remove_synth_generator (AgsInput *input
,GObject *synth_generator
);
Remove synth_generator
from input
.
Since: 3.0.0
gboolean ags_input_open_file (AgsInput *input
,gchar *filename
,gchar *preset
,gchar *instrument
,gchar *sample
,guint audio_channel
);
Open filename
and assign audio_channel
's data as AGS_AUDIO_SIGNAL_TEMPLATE
audio signal to input
's own recycling.
input |
the AgsInput |
|
filename |
the filename as string |
|
preset |
the preset to open |
|
instrument |
the instrument to open |
|
sample |
the sample to open |
|
audio_channel |
the audio channel to read |
Since: 3.0.0
AgsInput *
ags_input_new (GObject *audio
);
Creates a AgsInput, linking tree to audio
.
Since: 3.0.0
#define AGS_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INPUT, AgsInputClass))
#define AGS_INPUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INPUT, AgsInputClass))
#define AGS_IS_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INPUT))
“file-link”
property“file-link” AgsFileLink *
The file containing audio data.
Owner: AgsInput
Flags: Read / Write
Since: 3.0.0
“synth-generator”
property“synth-generator” gpointer
The synth generators assigned with this input.
[transfer full]
Owner: AgsInput
Flags: Read / Write
Since: 3.0.0