| Top |
| void | done | Run Last |
| gpointer | find-port | Run Last |
| void | map-recall | Run Last |
| void | resize-audio-channels | Run Last |
| void | resize-pads | 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 ├── AgsDrum ├── AgsDssiBridge ├── AgsFFPlayer ├── AgsLadspaBridge ├── AgsLiveDssiBridge ├── AgsLiveLv2Bridge ├── AgsLv2Bridge ├── AgsMatrix ├── AgsMixer ├── AgsPanel ├── 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: 1.3.0
void
ags_machine_automation_port_free (AgsMachineAutomationPort *automation_port);
Free automation_port
Since: 1.3.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: 1.3.0
void ags_machine_resize_audio_channels (AgsMachine *machine,guint new_size,guint old_size);
Resize audio channel allocation.
Since: 1.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: 1.0.0
void
ags_machine_map_recall (AgsMachine *machine);
You may want the machine
to add its default recall.
Since: 1.0.0
void ags_machine_done (AgsMachine *machine,GObject *recall_id);
Notify about to stop playback of recall_id
.
Since: 1.2.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: 1.0.0
void ags_machine_set_run (AgsMachine *machine,gboolean run);
Start/stop playback of machine
.
Since: 1.0.0
void ags_machine_set_run_extended (AgsMachine *machine,gboolean run,gboolean sequencer,gboolean notation);
Start/stop playback of machine
.
machine |
the AgsMachine |
|
run |
if |
|
sequencer |
if doing sequencer |
|
notation |
if doing notation |
Since: 1.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: 1.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: 1.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: 1.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: 1.0.0
void ags_machine_popup_add_edit_options (AgsMachine *machine,guint edit_options);
Add options to edit submenu
Since: 1.0.0
void ags_machine_popup_add_connection_options (AgsMachine *machine,guint connection_options);
Add options to connection submenu
Since: 1.0.0
gboolean
ags_machine_message_monitor_timeout (AgsMachine *machine);
Monitor messages.
Since: 1.2.0
AgsMachine *
ags_machine_new (GObject *soundcard);
Creates an AgsMachine
Since: 1.0.0
#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 (*done)(AgsMachine *machine,
GObject *recall_id);
};
“audio” property“audio” AgsAudio *
The assigned AgsAudio to visualize.
Flags: Read / Write
Since: 1.0.0
“machine-name” property“machine-name” gchar *
The machine's name.
Flags: Read / Write
Default value: NULL
Since: 1.0.0
“done” signalvoid user_function (AgsMachine *machine, GObject *recall_id, gpointer user_data)
The ::done signal gets emited as audio stops playback.
machine |
the AgsMachine |
|
recall_id |
the AgsRecallID |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 1.2.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: 1.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: 1.0.0
“resize-audio-channels” signalvoid user_function (AgsMachine *machine, guint channel, guint new_size, gpointer user_data)
The ::resize-audio-channels signal notifies about changed channel allocation within audio.
machine |
the AgsMachine to modify |
|
channel |
the AgsChannel to set |
|
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: 1.0.0
“resize-pads” signalvoid user_function (AgsMachine *machine, gulong channel, guint channel_type, guint new_size, gpointer user_data)
The ::resize-pads signal notifies about changed channel allocation within audio.
machine |
the AgsMachine to modify |
|
channel |
the AgsChannel to set |
|
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: 1.0.0