| Top |
| gpointer | find-port | Run Last |
| void | map-recall | Run Last |
| void | resize-audio-channels | Run Last |
| void | resize-pads | Run Last |
| void | stop | Run Last |
| #define | AGS_MACHINE_DEFAULT_VERSION |
| #define | AGS_MACHINE_DEFAULT_BUILD_ID |
| enum | AgsMachineFlags |
| enum | AgsMachineFileInputFlags |
| enum | AgsMachineMappingFlags |
| enum | AgsMachineEditOptions |
| enum | AgsMachineConnectionOptions |
| struct | AgsMachineAutomationPort |
| #define | AGS_TYPE_MACHINE |
| struct | AgsMachine |
| struct | AgsMachineClass |
GObject
╰── GInitiallyUnowned
╰── GtkObject
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkHandleBox
╰── AgsMachine
├── AgsAudiorec
├── AgsDesk
├── AgsDrum
├── AgsDssiBridge
├── AgsEqualizer10
├── AgsFFPlayer
├── AgsLadspaBridge
├── AgsLiveDssiBridge
├── AgsLiveLv2Bridge
├── AgsLv2Bridge
├── AgsMatrix
├── AgsMixer
├── AgsPanel
├── AgsSpectrometer
├── AgsSyncsynth
╰── AgsSynth
AgsMachine implements AtkImplementorIface, GtkBuildable, AgsConnectable and AgsPlugin.
#define AGS_MACHINE_AUTOMATION_PORT(ptr) ((AgsMachineAutomationPort *)(ptr))
AgsMachineAutomationPort * ags_machine_automation_port_alloc (GType channel_type,gchar *control_name);
Allocate AgsMachineAutomationPort
Since: 2.0.0
void
ags_machine_automation_port_free (AgsMachineAutomationPort *automation_port);
Free automation_port
Since: 2.0.0
GList * ags_machine_automation_port_find_channel_type_with_control_name (GList *list,GType channel_type,gchar *control_name);
Find AgsAutomationPort by specifying channel type and control name.
list |
a GList containing AgsAutomationPort |
|
channel_type |
the GType to match |
|
control_name |
the control name as string to match |
Since: 2.0.0
void ags_machine_resize_audio_channels (AgsMachine *machine,guint new_size,guint old_size);
Resize audio channel allocation.
Since: 2.0.0
void ags_machine_resize_pads (AgsMachine *machine,GType channel_type,guint new_size,guint old_size);
Resize pad allocation.
machine |
the AgsMachine |
|
channel_type |
the channel GType |
|
new_size |
new allocation |
|
old_size |
old allocation |
Since: 2.0.0
void
ags_machine_map_recall (AgsMachine *machine);
You may want the machine
to add its default recall.
Since: 2.0.0
void ags_machine_stop (AgsMachine *machine,GList *recall_id,gint sound_scope);
Notify about to stop playback of recall_id
.
machine |
the AgsMachine |
|
recall_id |
the GList containing AgsRecallID |
|
sound_scope |
the sound scope |
Since: 2.0.0
void
ags_machine_add_default_recalls (AgsMachine *machine);
ags_machine_add_default_recalls is deprecated and should not be used in newly-written code.
AgsMachine * ags_machine_find_by_name (GList *list,char *name);
Find the specified by name
machine.
Since: 2.0.0
void ags_machine_set_run (AgsMachine *machine,gboolean run);
Start/stop playback of machine
.
Since: 2.0.0
void ags_machine_set_run_extended (AgsMachine *machine,gboolean run,gboolean sequencer,gboolean notation,gboolean wave,gboolean midi);
Start/stop playback of machine
.
machine |
the AgsMachine |
|
run |
if |
|
sequencer |
if doing sequencer |
|
notation |
if doing notation |
|
wave |
if doing wave |
|
midi |
if doing midi |
Since: 2.0.0
GtkListStore *
ags_machine_get_possible_links (AgsMachine *machine);
Find links suitable for machine
.
a GtkListStore containing one column with a string representing machines by its type and name.
Since: 2.0.0
GtkListStore *
ags_machine_get_possible_audio_output_connections
(AgsMachine *machine);
Find audio output connections suitable for machine
.
a GtkListStore containing one column with a string representing machines by its type and name.
Since: 2.0.0
GtkListStore *
ags_machine_get_possible_audio_input_connections
(AgsMachine *machine);
Find audio input connections suitable for machine
.
a GtkListStore containing one column with a string representing machines by its type and name.
Since: 2.0.0
GtkFileChooserDialog *
ags_machine_file_chooser_dialog_new (AgsMachine *machine);
Creates a new machine file chooser dialog in order to open audio files.
Since: 2.0.0
void ags_machine_open_files (AgsMachine *machine,GSList *filenames,gboolean overwrite_channels,gboolean create_channels);
Opens audio files and modifies or creates new channels if wished.
machine |
the AgsMachine |
|
filenames |
the filenames |
|
overwrite_channels |
reset channels |
|
create_channels |
instantiate new channels |
Since: 2.0.0
void ags_machine_popup_add_edit_options (AgsMachine *machine,guint edit_options);
Add options to edit submenu
Since: 2.0.0
void ags_machine_popup_add_connection_options (AgsMachine *machine,guint connection_options);
Add options to connection submenu
Since: 2.0.0
gboolean
ags_machine_message_monitor_timeout (AgsMachine *machine);
Monitor messages.
Since: 2.0.0
AgsMachine *
ags_machine_new (GObject *soundcard);
Creates an AgsMachine
Since: 2.0.0
#define AGS_IS_MACHINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MACHINE))
#define AGS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE, AgsMachine))
#define AGS_MACHINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE, AgsMachineClass))
#define AGS_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MACHINE, AgsMachineClass))
struct AgsMachineAutomationPort {
GType channel_type;
gchar *control_name;
};
struct AgsMachineClass {
GtkHandleBoxClass handle_box;
void (*resize_audio_channels)(AgsMachine *machine,
guint new_size, guint old_size);
void (*resize_pads)(AgsMachine *machine,
GType channel_type,
guint new_size, guint old_size);
void (*map_recall)(AgsMachine *machine);
GList* (*find_port)(AgsMachine *machine);
void (*stop)(AgsMachine *machine,
GList *recall_id, gint sound_scope);
};
“audio” property“audio” AgsAudio *
The assigned AgsAudio to visualize.
Flags: Read / Write
Since: 2.0.0
“find-port” signalgpointer user_function (AgsMachine *machine, gpointer user_data)
machine |
the AgsMachine to resize |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0
“map-recall” signalvoid user_function (AgsMachine *machine, gpointer user_data)
The ::map-recall should be used to add the machine's default recall.
Flags: Run Last
Since: 2.0.0
“resize-audio-channels” signalvoid user_function (AgsMachine *machine, guint new_size, guint old_size, gpointer user_data)
The ::resize-audio-channels signal notifies about changed channel allocation within audio.
machine |
the AgsMachine to modify |
|
new_size |
the new size |
|
old_size |
the old size |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0
“resize-pads” signalvoid user_function (AgsMachine *machine, gulong channel_type, guint new_size, guint old_size, gpointer user_data)
The ::resize-pads signal notifies about changed channel allocation within audio.
machine |
the AgsMachine to modify |
|
channel_type |
either |
|
new_size |
the new size |
|
old_size |
the old size |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0
“stop” signalvoid user_function (AgsMachine *machine, gpointer recall_id, gint sound_scope, gpointer user_data)
The ::stop signal gets emited as audio stops playback.
machine |
the AgsMachine |
|
recall_id |
the GList containing AgsRecallID |
|
sound_scope |
the sound scope |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0