AgsMachine

AgsMachine — visualize audio object.

Functions

Types and Values

Includes

#include <ags/X/ags_machine.h>

Description

AgsMachine is a composite widget to act as base class to visualize AgsAudio.

Functions

ags_machine_set_audio_channels ()

void
ags_machine_set_audio_channels (AgsAudio *audio,
                                guint audio_channels,
                                guint audio_channels_old,
                                AgsMachine *machine);

ags_machine_set_pads ()

void
ags_machine_set_pads (AgsAudio *audio,
                      GType type,
                      guint pads,
                      guint pads_old,
                      AgsMachine *machine);

ags_machine_add_default_recalls ()

void
ags_machine_add_default_recalls (AgsMachine *machine);

ags_machine_add_default_recalls is deprecated and should not be used in newly-written code.


ags_machine_map_recall ()

void
ags_machine_map_recall (AgsMachine *machine);

ags_machine_get_possible_links ()

GtkListStore *
ags_machine_get_possible_links (AgsMachine *machine);

Find links suitable for machine .

Parameters

machine

the AgsMachine

 

Returns

a GtkListStore containing one column with a string representing machines by its type and name.

Since 0.4


ags_machine_find_by_name ()

AgsMachine *
ags_machine_find_by_name (GList *list,
                          char *name);

Find the specified by name machine.

Parameters

list

a GList of AgsMachine

 

name

the name of machine

 

Returns

Since 0.3


ags_machine_find_port ()

GList *
ags_machine_find_port (AgsMachine *machine);

Lookup ports of associated recalls.

Parameters

machine

the AgsMachine Returns: an GList containing all related AgsPort

 

Since 0.4


ags_machine_set_run ()

void
ags_machine_set_run (AgsMachine *machine,
                     gboolean run);

Start/stop playback of machine .

Parameters

machine

the AgsMachine

 

run

if TRUE playback is started, otherwise stopped

 

Since 0.4


ags_machine_file_chooser_dialog_new ()

GtkFileChooserDialog *
ags_machine_file_chooser_dialog_new (AgsMachine *machine);

Creates a new machine file chooser dialog in order to open audio files.

Parameters

machine

the AgsMachine

 

Returns

Since 0.4


ags_machine_open_files ()

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.

Parameters

machine

the AgsMachine

 

filenames

the filenames

 

overwrite_channels

reset channels

 

create_channels

instantiate new channels

 

Since 0.4


ags_machine_new ()

AgsMachine *
ags_machine_new (GObject *devout);

Creates an AgsMachine

Parameters

devout

the assigned devout.

 

Returns

a new AgsMachine

Since 0.3

Types and Values

AGS_MACHINE_DEFAULT_VERSION

#define AGS_MACHINE_DEFAULT_VERSION "0.4.2\0"


AGS_MACHINE_DEFAULT_BUILD_ID

#define AGS_MACHINE_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"


enum AgsMachineFlags

Members

AGS_MACHINE_SOLO

   

AGS_MACHINE_IS_EFFECT

   

AGS_MACHINE_IS_SEQUENCER

   

AGS_MACHINE_IS_SYNTHESIZER

   

AGS_MACHINE_TAKES_FILE_INPUT

   

AGS_MACHINE_MAPPED_RECALL

   

AGS_MACHINE_PREMAPPED_RECALL

   

AGS_MACHINE_BLOCK_PLAY

   

AGS_MACHINE_BLOCK_STOP

   

AGS_MACHINE_CONNECTED

   

enum AgsMachineFileInputFlags

Members

AGS_MACHINE_ACCEPT_WAV

   

AGS_MACHINE_ACCEPT_OGG

   

AGS_MACHINE_ACCEPT_SOUNDFONT2