Top |
#define | AGS_MACHINE_DEFAULT_VERSION |
#define | AGS_MACHINE_DEFAULT_BUILD_ID |
enum | AgsMachineFlags |
enum | AgsMachineFileInputFlags |
enum | AgsMachineMappingFlags |
enum | AgsMachineEditOptions |
enum | AgsMachineConnectionOptions |
enum | AgsMachineExportOptions |
enum | AgsMachineImportOptions |
struct | AgsMachineInputLine |
struct | AgsMachineAutomationPort |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkGrid ╰── AgsMachine ├── AgsSF2Synth ╰── AgsFFPlayer
#define AGS_MACHINE_AUTOMATION_PORT(ptr) ((AgsMachineAutomationPort *)(ptr))
gint ags_machine_input_line_sort_func (gconstpointer a
,gconstpointer b
);
Sort machine input line.
Since: 3.16.0
AgsMachineInputLine * ags_machine_input_line_alloc ();
Allocate AgsMachineInputLine.
Since: 3.16.0
gchar *
ags_machine_get_machine_name (AgsMachine *machine
);
Get machine name of machine
.
Since: 4.0.0
void ags_machine_set_machine_name (AgsMachine *machine
,gchar *machine_name
);
void
ags_machine_reset_pattern_envelope (AgsMachine *machine
);
Reset pattern envelope from preset.
Since: 3.6.20
AgsMachineAutomationPort * ags_machine_automation_port_alloc (GType channel_type
,gchar *control_name
);
Allocate AgsMachineAutomationPort
Since: 3.0.0
void
ags_machine_automation_port_free (AgsMachineAutomationPort *automation_port
);
Free automation_port
Since: 3.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: 3.0.0
GList *
ags_machine_get_output_pad (AgsMachine *machine
);
Get line member of machine
.
Since: 4.0.0
void ags_machine_add_output_pad (AgsMachine *machine
,AgsPad *output_pad
,guint x
,guint y
,guint width
,guint height
);
Add output_pad
to machine
.
machine |
the AgsMachine |
|
output_pad |
the AgsPad |
|
x |
the x position |
|
y |
the y position |
|
width |
the width |
|
height |
the height |
Since: 4.0.0
void ags_machine_remove_output_pad (AgsMachine *machine
,AgsPad *output_pad
);
Remove output_pad
from machine
.
Since: 4.0.0
GList *
ags_machine_get_input_pad (AgsMachine *machine
);
Get line member of machine
.
Since: 4.0.0
void ags_machine_add_input_pad (AgsMachine *machine
,AgsPad *input_pad
,guint x
,guint y
,guint width
,guint height
);
Add input_pad
to machine
.
machine |
the AgsMachine |
|
input_pad |
the AgsPad |
|
x |
the x position |
|
y |
the y position |
|
width |
the width |
|
height |
the height |
Since: 4.0.0
void ags_machine_remove_input_pad (AgsMachine *machine
,AgsPad *input_pad
);
Remove input_pad
from machine
.
Since: 4.0.0
void ags_machine_samplerate_changed (AgsMachine *machine
,guint samplerate
,guint old_samplerate
);
Notify about samplerate changed.
Since: 3.0.0
void ags_machine_buffer_size_changed (AgsMachine *machine
,guint buffer_size
,guint old_buffer_size
);
Notify about buffer_size changed.
Since: 3.0.0
void ags_machine_format_changed (AgsMachine *machine
,guint format
,guint old_format
);
Notify about format changed.
Since: 3.0.0
void ags_machine_resize_audio_channels (AgsMachine *machine
,guint new_size
,guint old_size
);
Resize audio channel allocation.
Since: 3.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: 3.0.0
void
ags_machine_map_recall (AgsMachine *machine
);
You may want the machine
to add its default recall.
Since: 3.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: 3.0.0
void ags_machine_apply_preset (AgsMachine *machine
,GtkListStore *list_store
);
Apply preset.
Since: 5.2.6
void
ags_machine_refresh_port (AgsMachine *machine
);
Notify about to refresh ports.
Since: 4.2.1
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: 3.0.0
void ags_machine_playback_set_active (AgsMachine *machine
,AgsPlayback *playback
,gboolean is_active
);
Start/stop playback
of machine
.
machine |
the AgsMachine |
|
playback |
the AgsPlayback |
|
is_active |
if |
Since: 3.0.0
void ags_machine_set_run (AgsMachine *machine
,gboolean run
);
Start/stop playback of machine
.
Since: 3.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: 3.0.0
GList *
ags_machine_get_editor_model (AgsMachine *machine
);
Get editor model.
Since: 4.4.0
void ags_machine_add_editor_model (AgsMachine *machine
,xmlNode *node
);
Add node
to machine
.
Since: 4.4.0
void ags_machine_remove_editor_model (AgsMachine *machine
,xmlNode *node
);
Get node
from machine
.
Since: 4.4.0
GList *
ags_machine_get_dialog_model (AgsMachine *machine
);
Get dialog model.
Since: 4.0.0
void ags_machine_add_dialog_model (AgsMachine *machine
,xmlNode *node
);
Add node
to machine
.
Since: 4.0.0
void ags_machine_remove_dialog_model (AgsMachine *machine
,xmlNode *node
);
Get node
from machine
.
Since: 4.0.0
GList * ags_machine_find_dialog_model (AgsMachine *machine
,GList *dialog_model
,gchar *node_name
,gchar *attribute
,gchar *value
);
Find dialog model.
machine |
the AgsMachine |
|
dialog_model |
the GList |
|
node_name |
the node name |
|
attribute |
the attribute |
|
value |
the attribute value |
Since: 4.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: 3.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: 3.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: 3.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: 3.0.0
void
ags_machine_check_message (AgsMachine *machine
);
Check message queue for message envelopes.
Since: 3.0.0
AgsMachine *
ags_machine_new (GObject *soundcard
);
Creates an AgsMachine
Since: 3.0.0