Top | ![]() |
![]() |
![]() |
![]() |
AgsLineAgsLine — A composite widget to visualize AgsChannel |
void | ags_line_samplerate_changed () |
void | ags_line_buffer_size_changed () |
void | ags_line_format_changed () |
void | ags_line_set_channel () |
void | ags_line_group_changed () |
GList * | ags_line_add_effect () |
void | ags_line_remove_effect () |
void | ags_line_map_recall () |
GList * | ags_line_find_port () |
void | ags_line_stop () |
GList * | ags_line_find_next_grouped () |
gboolean | ags_line_message_monitor_timeout () |
gboolean | ags_line_indicator_queue_draw_timeout () |
AgsLine * | ags_line_new () |
#define | AGS_IS_LINE() |
#define | AGS_LINE() |
#define | AGS_LINE_CLASS() |
#define | AGS_LINE_GET_CLASS() |
GType | ags_line_get_type () |
guint | buffer-size | Read / Write |
AgsChannel * | channel | Read / Write |
guint | format | Read / Write |
AgsPad * | pad | Read / Write |
guint | samplerate | Read / Write |
gpointer | add-effect | Run Last |
void | buffer-size-changed | Run Last |
gpointer | find-port | Run Last |
void | format-changed | Run Last |
void | group-changed | Run Last |
void | map-recall | Run Last |
void | remove-effect | Run Last |
void | samplerate-changed | Run Last |
void | set-channel | Run Last |
void | stop | Run Last |
#define | AGS_LINE_DEFAULT_VERSION |
#define | AGS_LINE_DEFAULT_BUILD_ID |
#define | AGS_LINE_COLUMNS_COUNT |
#define | AGS_LINE_SEPARATOR_FILENAME |
#define | AGS_LINE_SEPARATOR_EFFECT |
enum | AgsLineFlags |
#define | AGS_TYPE_LINE |
struct | AgsLine |
struct | AgsLineClass |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GtkVBox ╰── AgsLine ├── AgsDrumInputLine ├── AgsDrumOutputLine ├── AgsFMSynthInputLine ├── AgsMixerInputLine ├── AgsPanelInputLine ╰── AgsSynthInputLine
AgsLine implements AtkImplementorIface, GtkBuildable, GtkOrientable, AgsConnectable and AgsPlugin.
AgsLine is a composite widget to visualize AgsChannel. It should be packed by an AgsPad. It may contain AgsLineMember to modify ports of AgsRecall.
void ags_line_samplerate_changed (AgsLine *line
,guint samplerate
,guint old_samplerate
);
Notify about samplerate changed.
Since: 2.1.35
void ags_line_buffer_size_changed (AgsLine *line
,guint buffer_size
,guint old_buffer_size
);
Notify about buffer_size changed.
Since: 2.1.35
void ags_line_format_changed (AgsLine *line
,guint format
,guint old_format
);
Notify about format changed.
Since: 2.1.35
void ags_line_set_channel (AgsLine *line
,AgsChannel *channel
);
Is emitted as channel gets modified.
Since: 2.0.0
void
ags_line_group_changed (AgsLine *line
);
Is emitted as group is changed.
Since: 2.0.0
GList * ags_line_add_effect (AgsLine *line
,GList *control_type_name
,gchar *filename
,gchar *effect
);
Add a line member.
Since: 2.0.0
void ags_line_remove_effect (AgsLine *line
,guint nth
);
Remove a line member.
Since: 2.0.0
void ags_line_map_recall (AgsLine *line
,guint output_pad_start
);
Is emitted as group is changed.
Since: 2.0.0
GList *
ags_line_find_port (AgsLine *line
);
Lookup ports of assigned recalls.
Since: 2.0.0
void ags_line_stop (AgsLine *line
,GList *recall_id
,gint sound_scope
);
Notify about to stop playback of recall_id
.
Since: 2.0.0
GList *
ags_line_find_next_grouped (GList *line
);
Retrieve next grouped line.
Since: 2.0.0
gboolean
ags_line_message_monitor_timeout (AgsLine *line
);
Monitor messages.
Since: 2.0.0
gboolean
ags_line_indicator_queue_draw_timeout (GtkWidget *widget
);
Queue draw widget
Since: 2.0.0
AgsLine * ags_line_new (GtkWidget *pad
,AgsChannel *channel
);
Create a new instance of AgsLine
Since: 2.0.0
#define AGS_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINE, AgsLineClass))
#define AGS_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINE, AgsLineClass))
struct AgsLineClass { GtkVBoxClass vbox; void (*samplerate_changed)(AgsLine *line, guint samplerate, guint old_samplerate); void (*buffer_size_changed)(AgsLine *line, guint buffer_size, guint old_buffer_size); void (*format_changed)(AgsLine *line, guint format, guint old_format); void (*set_channel)(AgsLine *line, AgsChannel *channel); void (*group_changed)(AgsLine *line); GList* (*add_effect)(AgsLine *line, GList *control_type_name, gchar *filename, gchar *effect); void (*remove_effect)(AgsLine *line, guint nth); void (*map_recall)(AgsLine *line, guint output_pad_start); GList* (*find_port)(AgsLine *line); void (*stop)(AgsLine *line, GList *recall_id, gint sound_scope); };
“buffer-size”
property“buffer-size” guint
The buffer length.
Flags: Read / Write
Default value: 1024
Since: 2.1.35
“channel”
property“channel” AgsChannel *
The assigned AgsChannel to visualize.
Flags: Read / Write
Since: 2.0.0
“format”
property“format” guint
The format.
Flags: Read / Write
Default value: 16
Since: 2.1.35
“samplerate”
property“samplerate” guint
The samplerate.
Flags: Read / Write
Default value: 48000
Since: 2.1.35
“add-effect”
signalgpointer user_function (AgsLine *line, gpointer control_type_name, gchar *filename, gchar *effect, gpointer user_data)
The ::add-effect signal notifies about added effect.
Flags: Run Last
Since: 2.0.0
“buffer-size-changed”
signalvoid user_function (AgsLine *line, guint buffer_size, guint old_buffer_size, gpointer user_data)
The ::buffer-size-changed signal notifies about changed buffer size.
line |
the AgsLine |
|
buffer_size |
the buffer size |
|
old_buffer_size |
the old buffer size |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.1.35
“find-port”
signalgpointer user_function (AgsLine *line, gpointer user_data)
The ::find-port retrieves all associated ports.
Flags: Run Last
Since: 2.0.0
“format-changed”
signalvoid user_function (AgsLine *line, guint format, guint old_format, gpointer user_data)
The ::format-changed signal notifies about changed format.
line |
the AgsLine |
|
format |
the format |
|
old_format |
the old format |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.1.35
“group-changed”
signalvoid user_function (AgsLine *line, gpointer user_data)
The ::group-changed signal notifies about changed grouping. This normally happens as toggling group button in AgsPad or AgsLine.
line |
the object group changed |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0
“map-recall”
signalvoid user_function (AgsLine *line, guint output_pad_start, gpointer user_data)
The ::map-recall as recalls should be mapped.
line |
the AgsLine |
|
output_pad_start |
the channels start pad |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0
“remove-effect”
signalvoid user_function (AgsLine *line, guint nth, gpointer user_data)
The ::remove-effect signal notifies about removed effect.
line |
the AgsLine to modify |
|
nth |
the nth effect |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0
“samplerate-changed”
signalvoid user_function (AgsLine *line, guint samplerate, guint old_samplerate, gpointer user_data)
The ::samplerate-changed signal notifies about changed samplerate.
line |
the AgsLine |
|
samplerate |
the samplerate |
|
old_samplerate |
the old samplerate |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.1.35
“set-channel”
signalvoid user_function (AgsLine *line, GObject *channel, gpointer user_data)
The ::set-channel signal notifies about changed channel.
line |
the AgsLine to modify |
|
channel |
the AgsChannel to set |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0
“stop”
signalvoid user_function (AgsLine *line, gpointer recall_id, gint sound_scope, gpointer user_data)
The ::stop signal gets emited as audio stops playback.
line |
the AgsLine |
|
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